You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by jeevi tesh <je...@gmail.com> on 2014/10/22 13:14:07 UTC
java.lang.IllegalArgumentException: Path must start with / character
Hi,
I'm using hbase0.94.3, hadoop-2.2.0 and jdk 1.7.67 version..
In hbase shell if i issue any command i'm getting
ERROR: java.lang.IllegalArgumentException: Path must start with / character
hbase-site.xml file content
<property>
<name>hbase.rootdir</name>
<value>file:////home/hadoop/hbase_root_dir/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hadoop/zoo_keeper_root_dir/zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>10.200.1.145</value>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>file:////home/hadoop/hbase_root_dir/hbdata</value>
kindly help me to resolve the issue
Re: java.lang.IllegalArgumentException: Path must start with / character
Posted by Ted Yu <yu...@gmail.com>.
The error was about zookeeper.znode.parent config value.
It shouldn't start with file:
Cheers
On Oct 22, 2014, at 4:14 AM, jeevi tesh <je...@gmail.com> wrote:
> Hi,
> I'm using hbase0.94.3, hadoop-2.2.0 and jdk 1.7.67 version..
> In hbase shell if i issue any command i'm getting
> ERROR: java.lang.IllegalArgumentException: Path must start with / character
> hbase-site.xml file content
> <property>
> <name>hbase.rootdir</name>
> <value>file:////home/hadoop/hbase_root_dir/hbase</value>
> </property>
> <property>
> <name>hbase.zookeeper.property.dataDir</name>
>
> <value>/home/hadoop/zoo_keeper_root_dir/zookeeper</value>
> </property>
> <property>
> <name>hbase.zookeeper.quorum</name>
> <value>10.200.1.145</value>
> </property>
> <property>
>
> <name>zookeeper.znode.parent</name>
>
> <value>file:////home/hadoop/hbase_root_dir/hbdata</value>
> kindly help me to resolve the issue