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] Update of "Hbase/HbaseShell/HQL" by udanax
Date Sun, 10 Feb 2008 02:37:49 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

------------------------------------------------------------------------------
  
  ''Why not go whole way and implement the [http://java.sun.com/j2se/1.4.2/docs/api/java/sql/ResultSet.html
java.sql.ResultSet] interface, etc.?  Would it fit? St.Ack''
  
+ ''Your proposal is being actively considered. Ed''
+ ----
+ 
  == External HQL command file ==
  === Purpose ===
  To run the specified command file.
@@ -40, +43 @@

  }}}
  === Applications ===
  {{{
+ CASE 1 :
+ 
    map {
      rs = hql.executeQuery("@ '" + cmdFilePath + "';");
      output.collect(key, rs.result());
    }
+ 
+ CASE 2 :
+ 
+   rs = hql.executeQuery("@ 'hdfs://app_name/install_hbase_db.txt';");
+   if(rs == ok)
+     ...
+ 
  }}}
  
  ''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''
- 
+ ----
  == Parallel Execution Features ==
  
  === Query ===
@@ -79, +91 @@

  
  ''Is this best implemented as part of the shell? Why not have a bin/hbase loader that takes
the options on the command line? bryanduxbury''
  
+ ''bryanduxbury: Yes. i think it should be provided on the language level, but I have no
objection to it. ('./bin/hbase loader')'' 
  === Data Dumping ===
+ ----
  

Mime
View raw message