|
y_823910@...
2010-09-09, 01:07
Stack
2010-09-09, 03:50
y_823910@...
2010-09-09, 05:53
Stack
2010-09-09, 05:56
y_823910@...
2010-09-09, 06:04
Stack
2010-09-09, 06:14
y_823910@...
2010-09-09, 06:36
Stack
2010-09-09, 15:56
Himanshu Vashishtha
2010-09-09, 21:04
y_823910@...
2010-09-10, 00:47
|
-
try to read content of stored filey_823910@... 2010-09-09, 01:07
Hi there, I am very curious about the content of Hbase store file. Try to read it by HDFS java API, but it's hard to understand these data due to alot of invisible codes. Any suggestion? Fleming Chiu(嚙踝蕭嚙踝蕭嚙踝蕭) Be Veg! Go Green! Save the planet! --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. ---------------------------------------------------------------------------
-
Re: try to read content of stored fileStack 2010-09-09, 03:50
Try this tool:
$ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile Doing the above dumps out usage. You can pass a filename -- specify it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 -- or pass the name of a region and it'll dump all therein. Let us know if its not working for you. St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > > Hi there, > > I am very curious about the content of Hbase store file. > Try to read it by HDFS java API, but it's hard to understand these data due > to alot of invisible codes. > Any suggestion? > > > Fleming Chiu(邱宏明) > Be Veg! Go Green! Save the planet! > > > --------------------------------------------------------------------------- > �� TSMC PROPERTY > This email communication (and any attachments) is proprietary information > for the sole use of its > intended recipient. Any unauthorized review, use or distribution by anyone > other than the intended > recipient is strictly prohibited. If you are not the intended recipient, > please notify the sender by > replying to this email, and then delete this email and any copies of it > immediately. Thank you. > --------------------------------------------------------------------------- > > > >
-
Re: try to read content of stored filey_823910@... 2010-09-09, 05:53
Hi,
I didn't see any output after running following commands. Any idea? Thank you /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile /hbase/TEST/1418428042/DSMP/4759508618286845475 /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 Fleming Chiu(邱宏明) Be Veg! Go Green! Save the planet! saint.ack@gmail.c om To: [EMAIL PROTECTED] Sent by: cc: (bcc: Y_823910/TSMC) saint.ack@gmail.c Subject: Re: try to read content of stored file om 2010/09/09 11:50 AM Please respond to user Try this tool: $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile Doing the above dumps out usage. You can pass a filename -- specify it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 -- or pass the name of a region and it'll dump all therein. Let us know if its not working for you. St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > > Hi there, > > I am very curious about the content of Hbase store file. > Try to read it by HDFS java API, but it's hard to understand these data due > to alot of invisible codes. > Any suggestion? > > > Fleming Chiu(邱宏明) > Be Veg! Go Green! Save the planet! > > > --------------------------------------------------------------------------- > TSMC PROPERTY > This email communication (and any attachments) is proprietary information > for the sole use of its > intended recipient. Any unauthorized review, use or distribution by anyone > other than the intended > recipient is strictly prohibited. If you are not the intended recipient, > please notify the sender by > replying to this email, and then delete this email and any copies of it > immediately. Thank you. > --------------------------------------------------------------------------- > > > > --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. ---------------------------------------------------------------------------
-
Re: try to read content of stored fileStack 2010-09-09, 05:56
Add -v?
St.Ack On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: > Hi, > I didn't see any output after running following commands. > Any idea? > Thank you > > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > /hbase/TEST/1418428042/DSMP/4759508618286845475 > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > > Fleming Chiu(邱宏明) > Be Veg! Go Green! Save the planet! > > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 11:50 > AM > Please respond to > user > > > > > > > Try this tool: > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > > Doing the above dumps out usage. You can pass a filename -- specify > it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 > -- or pass the name of a region and it'll dump all therein. > > Let us know if its not working for you. > > St.Ack > > 2010/9/8 <[EMAIL PROTECTED]>: >> >> Hi there, >> >> I am very curious about the content of Hbase store file. >> Try to read it by HDFS java API, but it's hard to understand these data > due >> to alot of invisible codes. >> Any suggestion? >> >> >> Fleming Chiu(邱宏明) >> Be Veg! Go Green! Save the planet! >> >> >> --------------------------------------------------------------------------- > >> TSMC PROPERTY >> This email communication (and any attachments) is proprietary > information >> for the sole use of its >> intended recipient. Any unauthorized review, use or distribution by > anyone >> other than the intended >> recipient is strictly prohibited. If you are not the intended > recipient, >> please notify the sender by >> replying to this email, and then delete this email and any copies of it >> immediately. Thank you. >> --------------------------------------------------------------------------- > >> >> >> >> > > > > > --------------------------------------------------------------------------- > TSMC PROPERTY > This email communication (and any attachments) is proprietary information > for the sole use of its > intended recipient. Any unauthorized review, use or distribution by anyone > other than the intended > recipient is strictly prohibited. If you are not the intended recipient, > please notify the sender by > replying to this email, and then delete this email and any copies of it > immediately. Thank you. > --------------------------------------------------------------------------- > >
-
Re: try to read content of stored filey_823910@... 2010-09-09, 06:04
/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v
hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 I added -v . but still nothing found on the screen! saint.ack@gmail.c om To: [EMAIL PROTECTED] Sent by: cc: (bcc: Y_823910/TSMC) saint.ack@gmail.c Subject: Re: try to read content of stored file om 2010/09/09 01:56 PM Please respond to user Add -v? St.Ack On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: > Hi, > I didn't see any output after running following commands. > Any idea? > Thank you > > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > /hbase/TEST/1418428042/DSMP/4759508618286845475 > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > > Fleming Chiu(嚙踝蕭嚙踝蕭嚙踝蕭) > Be Veg! Go Green! Save the planet! > > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 11:50 > AM > Please respond to > user > > > > > > > Try this tool: > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > > Doing the above dumps out usage. You can pass a filename -- specify > it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 > -- or pass the name of a region and it'll dump all therein. > > Let us know if its not working for you. > > St.Ack > > 2010/9/8 <[EMAIL PROTECTED]>: >> >> Hi there, >> >> I am very curious about the content of Hbase store file. >> Try to read it by HDFS java API, but it's hard to understand these data > due >> to alot of invisible codes. >> Any suggestion? >> >> >> Fleming Chiu(嚙踝蕭嚙踝蕭嚙踝蕭) >> Be Veg! Go Green! Save the planet! information anyone recipient, --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. ---------------------------------------------------------------------------
-
Re: try to read content of stored fileStack 2010-09-09, 06:14
Looks like you need to pass -f so:
$ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f hdfs://x:9000/hbase/TestTable/efeb1bab2d99b205ec8837fc40d7010a/info/5319664235715793176 ... but then you'll probably get this: java.lang.IllegalArgumentException: Wrong FS..... I'll fix this in TRUNK Meantime, copy the file down from hdfs and pass it to the script (w/ the -f and -v flags). St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v > hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > I added -v . but still nothing found on the screen! > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 01:56 > PM > Please respond to > user > > > > > > > Add -v? > St.Ack > > On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: >> Hi, >> I didn't see any output after running following commands. >> Any idea? >> Thank you >> >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> /hbase/TEST/1418428042/DSMP/4759508618286845475 >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >> >> Fleming Chiu(邱宏明) >> Be Veg! Go Green! Save the planet! >> >> >> >> >> >> saint.ack@gmail.c >> om To: > [EMAIL PROTECTED] >> Sent by: cc: (bcc: > Y_823910/TSMC) >> saint.ack@gmail.c Subject: Re: try to read > content of stored file >> om >> >> >> 2010/09/09 11:50 >> AM >> Please respond to >> user >> >> >> >> >> >> >> Try this tool: >> >> $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> >> Doing the above dumps out usage. You can pass a filename -- specify >> it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 >> -- or pass the name of a region and it'll dump all therein. >> >> Let us know if its not working for you. >> >> St.Ack >> >> 2010/9/8 <[EMAIL PROTECTED]>: >>> >>> Hi there, >>> >>> I am very curious about the content of Hbase store file. >>> Try to read it by HDFS java API, but it's hard to understand these data >> due >>> to alot of invisible codes. >>> Any suggestion? >>> >>> >>> Fleming Chiu(邱宏明) >>> Be Veg! Go Green! Save the planet! >>> >>> >>> > --------------------------------------------------------------------------- >> >>> TSMC PROPERTY >>> This email communication (and any attachments) is proprietary >> information >>> for the sole use of its >>> intended recipient. Any unauthorized review, use or distribution by >> anyone >>> other than the intended >>> recipient is strictly prohibited. If you are not the intended >> recipient, >>> please notify the sender by >>> replying to this email, and then delete this email and any copies of it >>> immediately. Thank you. >>> > --------------------------------------------------------------------------- >> >>> >>> >>> >>> >> >> >> >> >> > --------------------------------------------------------------------------- >> TSMC PROPERTY >> This email communication (and any attachments) is proprietary > information >> for the sole use of its >> intended recipient. Any unauthorized review, use or distribution by > anyone >> other than the intended >> recipient is strictly prohibited. If you are not the intended
-
Re: try to read content of stored filey_823910@... 2010-09-09, 06:36
Meantime, copy the file down from hdfs and pass it to the script (w/
the -f and -v flags) I've copy the file from hdfs to my local machine. but sorry! I don't know how to pass it to the script w/ the -f and -v flags. Could you give me a example. Thank you very much saint.ack@gmail.c om To: [EMAIL PROTECTED] Sent by: cc: (bcc: Y_823910/TSMC) saint.ack@gmail.c Subject: Re: try to read content of stored file om 2010/09/09 02:14 PM Please respond to user Looks like you need to pass -f so: $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f hdfs://x:9000/hbase/TestTable/efeb1bab2d99b205ec8837fc40d7010a/info/5319664235715793176 ... but then you'll probably get this: java.lang.IllegalArgumentException: Wrong FS..... I'll fix this in TRUNK Meantime, copy the file down from hdfs and pass it to the script (w/ the -f and -v flags). St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v > hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > I added -v . but still nothing found on the screen! > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 01:56 > PM > Please respond to > user > > > > > > > Add -v? > St.Ack > > On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: >> Hi, >> I didn't see any output after running following commands. >> Any idea? >> Thank you >> >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> /hbase/TEST/1418428042/DSMP/4759508618286845475 >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >> hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 it information anyone recipient, --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. ---------------------------------------------------------------------------
-
Re: try to read content of stored fileStack 2010-09-09, 15:56
Just pass the path as an argument. For example if the file i sin
current directory named 5319664235715793176: $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f ./5319664235715793176 St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > Meantime, copy the file down from hdfs and pass it to the script (w/ > the -f and -v flags) > > I've copy the file from hdfs to my local machine. > but sorry! I don't know how to pass it to the script w/ the -f and -v > flags. > Could you give me a example. > Thank you very much > > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 02:14 > PM > Please respond to > user > > > > > > > Looks like you need to pass -f so: > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f > hdfs://x:9000/hbase/TestTable/efeb1bab2d99b205ec8837fc40d7010a/info/5319664235715793176 > > > ... but then you'll probably get this: > > java.lang.IllegalArgumentException: Wrong FS..... > > I'll fix this in TRUNK > > Meantime, copy the file down from hdfs and pass it to the script (w/ > the -f and -v flags). > > St.Ack > > > > 2010/9/8 <[EMAIL PROTECTED]>: >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v >> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >> I added -v . but still nothing found on the screen! >> >> >> >> >> saint.ack@gmail.c >> om To: > [EMAIL PROTECTED] >> Sent by: cc: (bcc: > Y_823910/TSMC) >> saint.ack@gmail.c Subject: Re: try to read > content of stored file >> om >> >> >> 2010/09/09 01:56 >> PM >> Please respond to >> user >> >> >> >> >> >> >> Add -v? >> St.Ack >> >> On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: >>> Hi, >>> I didn't see any output after running following commands. >>> Any idea? >>> Thank you >>> >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >>> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >>> /hbase/TEST/1418428042/DSMP/4759508618286845475 >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >>> hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 >>> >>> Fleming Chiu(邱宏明) >>> Be Veg! Go Green! Save the planet! >>> >>> >>> >>> >>> >>> saint.ack@gmail.c >>> om To: >> [EMAIL PROTECTED] >>> Sent by: cc: (bcc: >> Y_823910/TSMC) >>> saint.ack@gmail.c Subject: Re: try to read >> content of stored file >>> om >>> >>> >>> 2010/09/09 11:50 >>> AM >>> Please respond to >>> user >>> >>> >>> >>> >>> >>> >>> Try this tool: >>> >>> $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile >>> >>> Doing the above dumps out usage. You can pass a filename -- specify >>> it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34 >>> -- or pass the name of a region and it'll dump all therein. >>> >>> Let us know if its not working for you. >>> >>> St.Ack >>> >>> 2010/9/8 <[EMAIL PROTECTED]>: >>>> >>>> Hi there, >>>> >>>> I am very curious about the content of Hbase store file. >>>> Try to read it by HDFS java API, but it's hard to understand these data >>> due >>>> to alot of invisible codes. >>>> Any suggestion? >>>> >>>> >>>> Fleming Chiu(邱宏明) >>>> Be Veg! Go Green! Save the planet! >>>> >>>> >>>> >> > ---------------------------------------------------------------------------
-
Re: try to read content of stored fileHimanshu Vashishtha 2010-09-09, 21:04
just a minor point:
./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f <file name> where filename should be the configured fs (local/hdfs). "-f" option is necessary to read a given file. In case one gives wrong dfs, it will give error. hbase org.apache.hadoop.hbase.io.hfile.HFile -vf hdfs://localhost:54310/hbase/elemTable/93505166/positionFamily/7224251540989841115 | more Scanning -> hdfs://localhost:54310/hbase/elemTable/93505166/positionFamily/7224251540989841115 Scanned kv count -> 301036 hbase org.apache.hadoop.hbase.io.hfile.HFile -vf fake://localhost:54310/hbase/elemTable/93505166/positionFamily/7224251540989841115ds | more java.lang.IllegalArgumentException: Wrong FS: fake://localhost:54310/hbase/elemTable/93505166/positionFamily/7224251540989841115ds, expected: hdfs://localhost:54310 at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310) 2010/9/9 Stack <[EMAIL PROTECTED]> > Just pass the path as an argument. For example if the file i sin > current directory named 5319664235715793176: > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f > ./5319664235715793176 > > St.Ack > > 2010/9/8 <[EMAIL PROTECTED]>: > > Meantime, copy the file down from hdfs and pass it to the script (w/ > > the -f and -v flags) > > > > I've copy the file from hdfs to my local machine. > > but sorry! I don't know how to pass it to the script w/ the -f and -v > > flags. > > Could you give me a example. > > Thank you very much > > > > > > > > > > > > saint.ack@gmail.c > > om To: > [EMAIL PROTECTED] > > Sent by: cc: (bcc: > Y_823910/TSMC) > > saint.ack@gmail.c Subject: Re: try to read > content of stored file > > om > > > > > > 2010/09/09 02:14 > > PM > > Please respond to > > user > > > > > > > > > > > > > > Looks like you need to pass -f so: > > > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f > > > hdfs://x:9000/hbase/TestTable/efeb1bab2d99b205ec8837fc40d7010a/info/5319664235715793176 > > > > > > ... but then you'll probably get this: > > > > java.lang.IllegalArgumentException: Wrong FS..... > > > > I'll fix this in TRUNK > > > > Meantime, copy the file down from hdfs and pass it to the script (w/ > > the -f and -v flags). > > > > St.Ack > > > > > > > > 2010/9/8 <[EMAIL PROTECTED]>: > >> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v > >> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > >> I added -v . but still nothing found on the screen! > >> > >> > >> > >> > >> saint.ack@gmail.c > >> om To: > > [EMAIL PROTECTED] > >> Sent by: cc: (bcc: > > Y_823910/TSMC) > >> saint.ack@gmail.c Subject: Re: try to read > > content of stored file > >> om > >> > >> > >> 2010/09/09 01:56 > >> PM > >> Please respond to > >> user > >> > >> > >> > >> > >> > >> > >> Add -v? > >> St.Ack > >> > >> On Wed, Sep 8, 2010 at 10:53 PM, <[EMAIL PROTECTED]> wrote: > >>> Hi, > >>> I didn't see any output after running following commands. > >>> Any idea? > >>> Thank you > >>> > >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > >>> hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > >>> /hbase/TEST/1418428042/DSMP/4759508618286845475 > >>> /bin/hbase org.apache.hadoop.hbase.io.hfile.HFile > >>> hdfs://cc11:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 > >>> > >>> Fleming Chiu(邱宏明) > >>> Be Veg! Go Green! Save the planet! > >>> > >>> > >>> > >>> > >>> > >>> saint.ack@gmail.c > >>> om To:
-
Re: try to read content of stored filey_823910@... 2010-09-10, 00:47
I got a hbase file from HDFS to /Cloud_Computing/tmp/ttt.txt
I am sure the ttt.txt is in the /Cloud_Computing/tmp, I don't know why it still showed file doesn't exist ./hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f /Cloud_Computing/tmp Scanning -> /Cloud_Computing/tmp ERROR, file doesnt exist: /Cloud_Computing/tmp ./hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f /Cloud_Computing/tmp/ttt.txt Scanning -> /Cloud_Computing/tmp/ttt.txt ERROR, file doesnt exist: /Cloud_Computing/tmp/ttt.txt saint.ack@gmail.c om To: [EMAIL PROTECTED] Sent by: cc: (bcc: Y_823910/TSMC) saint.ack@gmail.c Subject: Re: try to read content of stored file om 2010/09/09 11:56 PM Please respond to user Just pass the path as an argument. For example if the file i sin current directory named 5319664235715793176: $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f ./5319664235715793176 St.Ack 2010/9/8 <[EMAIL PROTECTED]>: > Meantime, copy the file down from hdfs and pass it to the script (w/ > the -f and -v flags) > > I've copy the file from hdfs to my local machine. > but sorry! I don't know how to pass it to the script w/ the -f and -v > flags. > Could you give me a example. > Thank you very much > > > > > > saint.ack@gmail.c > om To: [EMAIL PROTECTED] > Sent by: cc: (bcc: Y_823910/TSMC) > saint.ack@gmail.c Subject: Re: try to read content of stored file > om > > > 2010/09/09 02:14 > PM > Please respond to > user > > > > > > > Looks like you need to pass -f so: > > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f > hdfs://x:9000/hbase/TestTable/efeb1bab2d99b205ec8837fc40d7010a/info/5319664235715793176 > > > ... but then you'll probably get this: > > java.lang.IllegalArgumentException: Wrong FS..... > > I'll fix this in TRUNK > > Meantime, copy the file down from hdfs and pass it to the script (w/ data it information anyone recipient, --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. --------------------------------------------------------------------------- |