You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Krishna <re...@gmail.com> on 2015/02/20 02:36:53 UTC

URISyntaxException for HFile

Hi,

I'm getting this strange error when trying to view the contents of HFile.
What is wrong here? Thanks for the help.

$> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>

Exception in thread "main" java.lang.IllegalArgumentException:
java.net.URISyntaxException: Illegal character in scheme name at index 0:
hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
at org.apache.hadoop.fs.Path.initialize(Path.java:206)
at org.apache.hadoop.fs.Path.<init>(Path.java:172)
at
org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
at
org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)

Re: URISyntaxException for HFile

Posted by Krishna <re...@gmail.com>.
Ted/Jean, thanks for the input. I couldn't get to followup on the issue
today. I will try out ur suggestions get back.

On Fri, Feb 20, 2015 at 5:13 AM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Can you download the file locally and open it with an hex editor? What are
> the first bytes?
>
> 2015-02-19 22:49 GMT-05:00 Ted Yu <yu...@gmail.com>:
>
> > I tried the following command on a 1.0 cluster (with hadoop 2.6.0):
> >
> > hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> >
> >
> hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1
> >
> > Here is the tail of output:
> >
> > Mid-key:
> >
> >
> \x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
> > Bloom filter:
> >     BloomSize: 8192
> >     No of Keys in bloom: 6114
> >     Max Keys for bloom: 6831
> >     Percentage filled: 90%
> >     Number of chunks: 1
> >     Comparator: RawBytesComparator
> > Delete Family Bloom filter:
> >     Not present
> >
> > What hadoop / hbase release are you using ?
> >
> > Is there anything else in the output ?
> >
> > Cheers
> >
> > On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I'm getting this strange error when trying to view the contents of
> HFile.
> > > What is wrong here? Thanks for the help.
> > >
> > > $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> > >
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > >
> > > Exception in thread "main" java.lang.IllegalArgumentException:
> > > java.net.URISyntaxException: Illegal character in scheme name at index
> 0:
> > >
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > > at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> > > at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> > > at
> > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> > > at
> > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> > > at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
> > >
> >
>

Re: URISyntaxException for HFile

Posted by Krishna <re...@gmail.com>.
Ted/Jean, thanks for the input. I couldn't get to followup on the issue
today. I will try out ur suggestions get back.

On Fri, Feb 20, 2015 at 5:13 AM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Can you download the file locally and open it with an hex editor? What are
> the first bytes?
>
> 2015-02-19 22:49 GMT-05:00 Ted Yu <yu...@gmail.com>:
>
> > I tried the following command on a 1.0 cluster (with hadoop 2.6.0):
> >
> > hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> >
> >
> hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1
> >
> > Here is the tail of output:
> >
> > Mid-key:
> >
> >
> \x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
> > Bloom filter:
> >     BloomSize: 8192
> >     No of Keys in bloom: 6114
> >     Max Keys for bloom: 6831
> >     Percentage filled: 90%
> >     Number of chunks: 1
> >     Comparator: RawBytesComparator
> > Delete Family Bloom filter:
> >     Not present
> >
> > What hadoop / hbase release are you using ?
> >
> > Is there anything else in the output ?
> >
> > Cheers
> >
> > On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I'm getting this strange error when trying to view the contents of
> HFile.
> > > What is wrong here? Thanks for the help.
> > >
> > > $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> > >
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > >
> > > Exception in thread "main" java.lang.IllegalArgumentException:
> > > java.net.URISyntaxException: Illegal character in scheme name at index
> 0:
> > >
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > > at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> > > at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> > > at
> > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> > > at
> > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> > > at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
> > >
> >
>

Re: URISyntaxException for HFile

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Can you download the file locally and open it with an hex editor? What are
the first bytes?

2015-02-19 22:49 GMT-05:00 Ted Yu <yu...@gmail.com>:

> I tried the following command on a 1.0 cluster (with hadoop 2.6.0):
>
> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
>
> hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1
>
> Here is the tail of output:
>
> Mid-key:
>
> \x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
> Bloom filter:
>     BloomSize: 8192
>     No of Keys in bloom: 6114
>     Max Keys for bloom: 6831
>     Percentage filled: 90%
>     Number of chunks: 1
>     Comparator: RawBytesComparator
> Delete Family Bloom filter:
>     Not present
>
> What hadoop / hbase release are you using ?
>
> Is there anything else in the output ?
>
> Cheers
>
> On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm getting this strange error when trying to view the contents of HFile.
> > What is wrong here? Thanks for the help.
> >
> > $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> > hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> >
> > Exception in thread "main" java.lang.IllegalArgumentException:
> > java.net.URISyntaxException: Illegal character in scheme name at index 0:
> > hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> > at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> > at
> >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> > at
> >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> > at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
> >
>

Re: URISyntaxException for HFile

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Can you download the file locally and open it with an hex editor? What are
the first bytes?

2015-02-19 22:49 GMT-05:00 Ted Yu <yu...@gmail.com>:

> I tried the following command on a 1.0 cluster (with hadoop 2.6.0):
>
> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
>
> hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1
>
> Here is the tail of output:
>
> Mid-key:
>
> \x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
> Bloom filter:
>     BloomSize: 8192
>     No of Keys in bloom: 6114
>     Max Keys for bloom: 6831
>     Percentage filled: 90%
>     Number of chunks: 1
>     Comparator: RawBytesComparator
> Delete Family Bloom filter:
>     Not present
>
> What hadoop / hbase release are you using ?
>
> Is there anything else in the output ?
>
> Cheers
>
> On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm getting this strange error when trying to view the contents of HFile.
> > What is wrong here? Thanks for the help.
> >
> > $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> > hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> >
> > Exception in thread "main" java.lang.IllegalArgumentException:
> > java.net.URISyntaxException: Illegal character in scheme name at index 0:
> > hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> > at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> > at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> > at
> >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> > at
> >
> >
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> > at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
> >
>

Re: URISyntaxException for HFile

Posted by Ted Yu <yu...@gmail.com>.
I tried the following command on a 1.0 cluster (with hadoop 2.6.0):

hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1

Here is the tail of output:

Mid-key:
\x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
Bloom filter:
    BloomSize: 8192
    No of Keys in bloom: 6114
    Max Keys for bloom: 6831
    Percentage filled: 90%
    Number of chunks: 1
    Comparator: RawBytesComparator
Delete Family Bloom filter:
    Not present

What hadoop / hbase release are you using ?

Is there anything else in the output ?

Cheers

On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:

> Hi,
>
> I'm getting this strange error when trying to view the contents of HFile.
> What is wrong here? Thanks for the help.
>
> $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
>
> Exception in thread "main" java.lang.IllegalArgumentException:
> java.net.URISyntaxException: Illegal character in scheme name at index 0:
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> at
>
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> at
>
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
>

Re: URISyntaxException for HFile

Posted by Ted Yu <yu...@gmail.com>.
I tried the following command on a 1.0 cluster (with hadoop 2.6.0):

hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1

Here is the tail of output:

Mid-key:
\x00\x10\x95\xDF%\x9F\x98BB\x87D\x9E\xD9\xF0\xB5\xF7\xD98\x04metacm\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
Bloom filter:
    BloomSize: 8192
    No of Keys in bloom: 6114
    Max Keys for bloom: 6831
    Percentage filled: 90%
    Number of chunks: 1
    Comparator: RawBytesComparator
Delete Family Bloom filter:
    Not present

What hadoop / hbase release are you using ?

Is there anything else in the output ?

Cheers

On Thu, Feb 19, 2015 at 5:36 PM, Krishna <re...@gmail.com> wrote:

> Hi,
>
> I'm getting this strange error when trying to view the contents of HFile.
> What is wrong here? Thanks for the help.
>
> $> hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
>
> Exception in thread "main" java.lang.IllegalArgumentException:
> java.net.URISyntaxException: Illegal character in scheme name at index 0:
> hdfs://<ip>:8020/hbase/data/default/<tablename>/<dir>/<cf>/<hfilename>
> at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> at
>
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.parseOptions(HFilePrettyPrinter.java:133)
> at
>
> org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.run(HFilePrettyPrinter.java:183)
> at org.apache.hadoop.hbase.io.hfile.HFile.main(HFile.java:784)
>