sydt created SPARK-19661:
----------------------------

             Summary: Spark-2.1.0 can not connect hbase
                 Key: SPARK-19661
                 URL: https://issues.apache.org/jira/browse/SPARK-19661
             Project: Spark
          Issue Type: Bug
          Components: Deploy
    Affects Versions: 2.1.0
            Reporter: sydt


When spark-sql of spark-2.1.0 connect hbase use 
import org.apache.hadoop.hbase.client.HBaseAdmin
CREATE EXTERNAL TABLE lxw123(  
rowkey string,  
f1 map<STRING,STRING>,  
f2 map<STRING,STRING>,  
f3 map<STRING,STRING>  
) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'  
WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,f1:,f2:,f3:")  
TBLPROPERTIES ("hbase.table.name" = "lxw1234");
it has no response and show 
Error in query: 
Operation not allowed: STORED BY(line 6, pos 2)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to