hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Hbase/HbaseShell/HQL" by udanax
Date Sun, 10 Feb 2008 03:37:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL

------------------------------------------------------------------------------
    map {
      rs = hql.executeQuery("@ '" + cmdFilePath + "'"
           + " " + strA + " " + strB;");
+     ...
+ 
-     output.collect(key, rs.result());
+     output.collect(key, value);
    }
  
    main(String[] args) {
@@ -62, +64 @@

  
  CASE 2 :
  
-   rs = hql.executeQuery("@ './install_db.txt';");
+   rs = hql.executeQuery("@ './install_tables.txt';");
  }}}
  
  ''A file of data definition shouldn't be called a 'query file' -- and why can't the file
just as easily load data?  Can you think of something else to call it?  And its possible to
do "$ cat DATA_DEFINITION_FILE|./bin/hbase shell" to get the same effect? St.Ack''

Mime
View raw message