[ 
https://issues.apache.org/jira/browse/HCATALOG-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225804#comment-13225804
 ] 

David Capwell commented on HCATALOG-301:
----------------------------------------

[INFO] 03:15:06,580 [main] CLIHCatClient:164 - Executing cmd: CREATE DATABASE 
IF NOT EXISTS HCatReadHBaseTableTest_85362060752406847 LOCATION 
'/tmp/hcat-qe/HCatReadHBaseTableTest_85362060752406847'

[INFO] 03:15:10,717 [main] HCatReadHBaseTableTest:73 - Creating Table 
CLITable{name=HCatReadHBaseTableTest_85362060781502847, 
database=CLIDatabase{name=HCatReadHBaseTableTest_85362060752406847, 
description=null, 
location=/tmp/hcat-qe/HCatReadHBaseTableTest_85362060752406847, 
properties=null}, type=INTERNAL, properties={hbase.columns.mapping=:key,cf:}, 
location=null, columns=[CLIField{name=key, type=string}, CLIField{name=value, 
type=map<string, string>}], 
storage-engine=CLIStorageEngine{name=org.apache.hcatalog.hbase.HBaseHCatStorageHandler,
 type=HANDLER, serde-properties=null}}

[INFO] 03:15:10,718 [main] CLIHCatClient:164 - Executing cmd: USE 
HCatReadHBaseTableTest_85362060752406847; CREATE TABLE IF NOT EXISTS 
HCatReadHBaseTableTest_85362060781502847 (key string,value map<string, string>) 
 STORED BY 'org.apache.hcatalog.hbase.HBaseHCatStorageHandler' TBLPROPERTIES 
('hbase.columns.mapping'=':key,cf:')


The funny thing, if you do an ls of /revion-managment/data it will show the 
path there, but if you ls the path it says its not there.
                
> Reading from a table without snapshot throws bad error.
> -------------------------------------------------------
>
>                 Key: HCATALOG-301
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-301
>             Project: HCatalog
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 0.4
>            Reporter: David Capwell
>            Assignee: Rohini Palaniswamy
>
> if you create a new table then try to read from it, you will get the 
> exception below.  Ether the error should propagate up and be clear what 
> happened (no data to read) or the job should run with empty input (fail fast 
> imo).
> ERROR 18:29:05,057 [main] Launcher:171 - Backend error message during job
> submission
> org.apache.pig.backend.executionengine.ExecException: ERROR 2118:
> java.lang.IllegalStateException: Error while configuring job properties
>         at
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:280)
>         at
> org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:962)
> [...]
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
> KeeperErrorCode = NoNode for
> /revision-management/data/hcatreadhbasetabletest_85330477246989847.hcatreadhbasetabletest_85330477285774847
>         at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>         at 
> org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1448)
>         at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1476)
>         at
> org.apache.hcatalog.hbase.snapshot.ZKUtil.getColumnFamiliesOfTable(ZKUtil.java:130)
>         ... 25 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to