title: Can't Store pig relation into Hbase
body: <p>Hi I am trying to store pig relation into HBase.</p>
  
  <pre><code>store result INTO 'hbase://hourlyAggregation' using org.apache.pig.backend.hadoop.hbase.HBaseStorage('countDetails:ansCount countDetails:divCount countDetails:unansCount countDetails:engCount');
  </code></pre>
  
  <p>This is running fine in local. when I tried to run pig in mapred mode my job is failing and my log is showing no error</p>
  
  <pre><code> ERROR org.apache.pig.tools.grunt.GruntParser - ERROR 2244: Job failed, hadoop does not return any error message
  Details at logfile: /home/HadoopUser/pig_1384412383791.log
  
  Pig Stack Trace
  ---------------
  ERROR 2244: Job failed, hadoop does not return any error message
  
  org.apache.pig.backend.executionengine.ExecException: ERROR 2244: Job failed, hadoop does not return any error message
      at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:119)
      at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:172)
      at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144)
      at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:90)
      at org.apache.pig.Main.run(Main.java:500)
      at org.apache.pig.Main.main(Main.java:107)
  ================================================================================
  </code></pre>
  
  <p>my profile is as follows</p>
  
  <pre><code>export JAVA_HOME=/home/hadoop/jdk1.6.0_39
  export HADOOP_HOME=$MY_HOME/hadoop-0.20.2-cdh3u4
  export CLASSPATH=$JAVA_HOME/lib/tools.jar:.
  export HIVE_HOME=$MY_HOME/hive-0.7.1-cdh3u4
  export PIG_HOME=$MY_HOME/pig-0.8.1-cdh3u4
  export HBASE_HOME=$MY_HOME/hbase-0.90.6-cdh3u4
  export PIG_CLASSPATH=”`${HBASE_HOME}/bin/hbase classpath`:$PIG_CLASSPATH”
  </code></pre>
  
  <p>please help me on this</p>
  
  <p>I even tried to register jars of zookeeper and hbase in pig_home/lib</p>
  
  <p>JT log</p>
  
  <pre><code>14-Nov-2013 14:48:29 (17sec)
  
  
  java.lang.RuntimeException: could not instantiate 'org.apache.pig.backend.hadoop.hbase.HBaseStorage' with arguments '[countDetails:ansCount countDetails:divCount countDetails:unansCount countDetails:engCount]'
      at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:502)
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getStoreFunc(POStore.java:218)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputCommitter.getCommitters(PigOutputCommitter.java:85)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputCommitter.&lt;init&gt;(PigOutputCommitter.java:68)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.getOutputCommitter(PigOutputFormat.java:278)
      at org.apache.hadoop.mapred.Task.initialize(Task.java:511)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:306)
      at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
  </code></pre>