[
https://issues.apache.org/jira/browse/HADOOP-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492536
]
udanax commented on HADOOP-1045:
--------------------------------
and, please check also my "BigTable Simulation Code Source".
you can download here.
http://www.hadoop.co.kr/moin.cgi/Maplib?action=AttachFile&do=get&target=maplib-0.0.1-alpha.tgz
it will be used on mapreduce.
I expect can recording of multiple <K,V> maps from Once-through process to
parsing a tab delimited text file.
Table t = new Table();
t.Create("webtable", new String[]{"anchor","language"});
//Write a new anchor, language
RowMutation r1 = new RowMutation(t.OpenOrDie("webtable"),
"udanax.org");
r1.Set("anchor:hadoop.co.kr","hadoop korean user
group");
r1.Set("anchor:joinc.co.kr","joinc");
r1.Set("language:kr", "euc-kr");
r1.Set("anchor:hadoop.co.kr", "hadoop");
r1.Set("anchor:naver.com", "naver");
Operation op = new Operation();
op.Apply(r1);
//Reading from table
Scanner stream = new Scanner("webtable");
stream.FetchColumnFamily("anchor");
stream.Lookup("udanax.org");
while(stream.next())
(
System.out.print("(RowName):");
System.out.print(stream.RowName());
System.out.print(" (ColumnName):");
System.out.print(stream.ColumnName());
System.out.print(" (Value):");
System.out.println(stream.Value());
)
stream.close();
> Code for HBase
> --------------
>
> Key: HADOOP-1045
> URL: https://issues.apache.org/jira/browse/HADOOP-1045
> Project: Hadoop
> Issue Type: New Feature
> Environment: All environments
> Reporter: Mike Cafarella
> Assigned To: Jim Kellerman
> Fix For: 0.13.0
>
> Attachments: hbase.patch, hbase.patch, hbase.patch, hbase.patch,
> hbase.patch, hbase.patch, hbase.patch, hbase.patch, hbase.patch, hbase.patch,
> hbase.patch, hbase.tar.gz
>
>
> I've written some code for HBase, a BigTable-like file store. It's not
> perfect, but it's ready for other people to play with and examine.
> The attached tarball has the source and a README
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.