[ https://issues.apache.org/jira/browse/SPARK-19661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874110#comment-15874110 ]
sydt commented on SPARK-19661: ------------------------------ sparksql of spark-1.6.2 can connect hbase by these and works well. I get these from one blog:http://lxw1234.com/archives/2015/07/330.htm > 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 by > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org