Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19661

Spark-2.1.0 can not connect hbase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.1.0
    • None
    • Deploy
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wangchao2017 sydt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: