java.lang.Exception: No target table has been specified!

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • It appears that the shutdown of PentahoMapRunnable is causing the HBase Output step to report an error closing the HBase connection. The data appears to be written correctly to HBase so this error may be benign: INFO 15-08 20:08:45,651 - Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection INFO 15-08 20:08:45,651 - Opening socket connection to server localhost/fe80:0:0:0:0:0:0:1%1:2181 INFO 15-08 20:08:45,652 - Socket connection established to localhost/fe80:0:0:0:0:0:0:1%1:2181, initiating session INFO 15-08 20:08:45,654 - Session establishment complete on server localhost/fe80:0:0:0:0:0:0:1%1:2181, sessionid = 0x1392cbbbb640032, negotiated timeout = 40000 INFO 15-08 20:08:45,674 - HBase Output - Retrieving mapping details for target table INFO 15-08 20:08:45,681 - Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection INFO 15-08 20:08:45,681 - Opening socket connection to server localhost/127.0.0.1:2181 INFO 15-08 20:08:45,682 - Socket connection established to localhost/127.0.0.1:2181, initiating session INFO 15-08 20:08:45,683 - Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1392cbbbb640033, negotiated timeout = 40000 INFO 15-08 20:08:45,699 - HBase Output - Connecting to target table... INFO 15-08 20:08:45,715 - HBase Output - Flushing write buffer... INFO 15-08 20:08:45,715 - HBase Output - Closing connection to target table INFO 15-08 20:08:45,715 - HBase Output - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0) INFO 15-08 20:08:45,716 - HBase Input - Closing connection... ERROR 15-08 20:08:45,717 - HBase Output - A problem occurred while flushing buffered data: No target table has been specified! ERROR 15-08 20:08:45,717 - HBase Output - java.lang.Exception: No target table has been specified! at org.pentaho.hbase.shim.common.CommonHBaseShim.checkTargetTable(CommonHBaseShim.java:684) at org.pentaho.hbase.shim.common.CommonHBaseShim.targetTableIsAutoFlush(CommonHBaseShim.java:718) at org.pentaho.di.trans.steps.hbaseoutput.HBaseOutput.setStopped(HBaseOutput.java:372) at org.pentaho.di.trans.Trans.stopAll(Trans.java:1391) at org.pentaho.hadoop.mapreduce.PentahoMapRunnable.run(PentahoMapRunnable.java:435) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) INFO 15-08 20:08:45,717 - HBase Output - Closing connection to target table INFO 15-08 20:08:45,742 - Task:attempt_201208151951_0008_m_000000_0 is done. And is in the process of commiting INFO 15-08 20:08:48,753 - Task attempt_201208151951_0008_m_000000_0 is allowed to commit now INFO 15-08 20:08:48,760 - Saved output of task 'attempt_201208151951_0008_m_000000_0' to hdfs://localhost:54310/wordcount/output INFO 15-08 20:08:48,762 - Task 'attempt_201208151951_0008_m_000000_0' done.
    via by Jordan Ganoff,
  • It appears that the shutdown of PentahoMapRunnable is causing the HBase Output step to report an error closing the HBase connection. The data appears to be written correctly to HBase so this error may be benign: INFO 15-08 20:08:45,651 - Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection INFO 15-08 20:08:45,651 - Opening socket connection to server localhost/fe80:0:0:0:0:0:0:1%1:2181 INFO 15-08 20:08:45,652 - Socket connection established to localhost/fe80:0:0:0:0:0:0:1%1:2181, initiating session INFO 15-08 20:08:45,654 - Session establishment complete on server localhost/fe80:0:0:0:0:0:0:1%1:2181, sessionid = 0x1392cbbbb640032, negotiated timeout = 40000 INFO 15-08 20:08:45,674 - HBase Output - Retrieving mapping details for target table INFO 15-08 20:08:45,681 - Initiating client connection, connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection INFO 15-08 20:08:45,681 - Opening socket connection to server localhost/127.0.0.1:2181 INFO 15-08 20:08:45,682 - Socket connection established to localhost/127.0.0.1:2181, initiating session INFO 15-08 20:08:45,683 - Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1392cbbbb640033, negotiated timeout = 40000 INFO 15-08 20:08:45,699 - HBase Output - Connecting to target table... INFO 15-08 20:08:45,715 - HBase Output - Flushing write buffer... INFO 15-08 20:08:45,715 - HBase Output - Closing connection to target table INFO 15-08 20:08:45,715 - HBase Output - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0) INFO 15-08 20:08:45,716 - HBase Input - Closing connection... ERROR 15-08 20:08:45,717 - HBase Output - A problem occurred while flushing buffered data: No target table has been specified! ERROR 15-08 20:08:45,717 - HBase Output - java.lang.Exception: No target table has been specified! at org.pentaho.hbase.shim.common.CommonHBaseShim.checkTargetTable(CommonHBaseShim.java:684) at org.pentaho.hbase.shim.common.CommonHBaseShim.targetTableIsAutoFlush(CommonHBaseShim.java:718) at org.pentaho.di.trans.steps.hbaseoutput.HBaseOutput.setStopped(HBaseOutput.java:372) at org.pentaho.di.trans.Trans.stopAll(Trans.java:1391) at org.pentaho.hadoop.mapreduce.PentahoMapRunnable.run(PentahoMapRunnable.java:435) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170) INFO 15-08 20:08:45,717 - HBase Output - Closing connection to target table INFO 15-08 20:08:45,742 - Task:attempt_201208151951_0008_m_000000_0 is done. And is in the process of commiting INFO 15-08 20:08:48,753 - Task attempt_201208151951_0008_m_000000_0 is allowed to commit now INFO 15-08 20:08:48,760 - Saved output of task 'attempt_201208151951_0008_m_000000_0' to hdfs://localhost:54310/wordcount/output INFO 15-08 20:08:48,762 - Task 'attempt_201208151951_0008_m_000000_0' done.
    via by Jordan Ganoff,
    • java.lang.Exception: No target table has been specified! at org.pentaho.hbase.shim.common.CommonHBaseShim.checkTargetTable(CommonHBaseShim.java:684) at org.pentaho.hbase.shim.common.CommonHBaseShim.targetTableIsAutoFlush(CommonHBaseShim.java:718) at org.pentaho.di.trans.steps.hbaseoutput.HBaseOutput.setStopped(HBaseOutput.java:372) at org.pentaho.di.trans.Trans.stopAll(Trans.java:1391) at org.pentaho.hadoop.mapreduce.PentahoMapRunnable.run(PentahoMapRunnable.java:435) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) at org.apache.hadoop.mapred.Child.main(Child.java:170)
    No Bugmate found.