You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "sydt (JIRA)" <ji...@apache.org> on 2017/02/19 13:04:44 UTC

[jira] [Created] (SPARK-19661) Spark-2.1.0 can not connect hbase

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org