hi sean
its resolved :)
issue with my hbase home directory :)
But now new issue is :(
i am trying creating simple table--> how to proceed this??
*hbase(main):006:0> create 'df','ff'ERROR: Could not initialize class
org.apache.hadoop.security.JniBasedUnixGroupsMappingHere is some help
for this command:Creates a table. Pass a table name, and a set of
column familyspecifications (at least one), and, optionally, table
configuration.Column specification can be a simple string (name), or a
dictionary(dictionaries are described below in main help output),
necessarily including NAME attribute. Examples:Create a table with
namespace=ns1 and table qualifier=t1 hbase> create 'ns1:t1', {NAME =>
'f1', VERSIONS => 5}Create a table with namespace=default and table
qualifier=t1 hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'},
{NAME => 'f3'} hbase> # The above in shorthand would be the
following: hbase> create 't1', 'f1', 'f2', 'f3' hbase> create 't1',
{NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}
hbase> create 't1', {NAME => 'f1', CONFIGURATION =>
{'hbase.hstore.blockingStoreFiles' => '10'}} Table configuration
options can be put at the end.Examples: hbase> create 'ns1:t1', 'f1',
SPLITS => ['10', '20', '30', '40'] hbase> create 't1', 'f1', SPLITS
=> ['10', '20', '30', '40'] hbase> create 't1', 'f1', SPLITS_FILE =>
'splits.txt', OWNER => 'johndoe' hbase> create 't1', {NAME => 'f1',
VERSIONS => 5}, METADATA => { 'mykey' => 'myvalue' } hbase> #
Optionally pre-split the table into NUMREGIONS, using hbase> #
SPLITALGO ("HexStringSplit", "UniformSplit" or classname) hbase>
create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}
hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO =>
'HexStringSplit', CONFIGURATION =>
{'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}You can
also keep around a reference to the created table: hbase> t1 = create
't1', 'f1'Which gives you a reference to the table named 't1', on
which you can thencall methods.*
On Sun, Oct 26, 2014 at 6:58 AM, beeshma r <[email protected]> wrote:
> hi sean
>
> Actually i started habse from correct path
> *beeshma@ubuntu:~/hbase-0.98.6.1-hadoop2/bin$ ./start-hbase.sh*
>
> Error: Could not find or load main class
> org.apache.hadoop.hbase.util.HBaseConfTool
> Error: Could not find or load main class
> org.apache.hadoop.hbase.zookeeper.ZKServerTool
> starting master, logging to
> /home/beeshma/hbase/logs/hbase-beeshma-master-ubuntu.out
> Error: Could not find or load main class
> org.apache.hadoop.hbase.master.HMaster
> localhost: starting regionserver, logging to
> /home/beeshma/hbase-0.98.6.1-hadoop2/bin/../logs/hbase-beeshma-regionserver-ubuntu.out
>
>
> *i fallowed standalone mode*
> https://hbase.apache.org/book/quickstart.html
>
>
> *beeshma@ubuntu:~/hbase-0.98.6.1-hadoop2/bin$ ./hbase shell*
> /usr/lib/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:in
> `method_missing': cannot load Java class org.apache.hadoop.hbase.HConstants
> (NameError)
> from /home/beeshma/hbase/hbase-shell/src/main/ruby/hbase.rb:39
> from /home/beeshma/hbase/hbase-shell/src/main/ruby/hbase.rb:105:in
> `require'
> from /home/beeshma/hbase/bin/hirb.rb:105
>
> Thanks
> Beeshma
>
>
>
> On Sun, Oct 26, 2014 at 6:21 AM, Sean Busbey <[email protected]> wrote:
>
>> It looks like you're in a home directory, but start-hbase.sh is in your
>> path.
>>
>> What manner of installation did you use?
>>
>> --
>> Sean
>> On Oct 26, 2014 6:45 AM, "beeshma r" <[email protected]> wrote:
>>
>> > Hi Ted
>> >
>> > i now trying to install hbase in my ubuntu.i struck here with this
>> problem
>> >
>> > $start-hbase.sh
>> >
>> > > Error: Could not find or load main class org.apache.hadoop.hbase.util.
>> > > HBaseConfTool
>> > > Error: Could not find or load main class org.apache.hadoop.hbase.
>> > > zookeeper.ZKServerTool
>> > > Error: Could not find or load main class org.apache.hadoop.hbase.
>> > > master.HMaster
>> >
>> > I have tried all latest versions but no use
>> >
>> > This is *Hbae_sit.xml*
>> >
>> > <configuration>
>> > <property>
>> > <name>hbase.rootdir</name>
>> > <value>file:///home/beesh_hadoop2/hbase</value>
>> > </property>
>> > <property>
>> > <name>hbase.zookeeper.property.dataDir</name>
>> > <value>/home/beesh_hadoop2/zookeeper</value>
>> > </property>
>> > </configuration>
>> >
>> >
>> >
>> > Here i attched log
>> >
>>
>
>
>
> --
>
>
>
>
>
>
--