marymwu created SPARK-15802:
-------------------------------

             Summary: SparkSQL connection fail using shell command "bin/beeline 
-u "jdbc:hive2://*.*.*.*:10000/default""
                 Key: SPARK-15802
                 URL: https://issues.apache.org/jira/browse/SPARK-15802
             Project: Spark
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: marymwu


reproduce steps:
1. execute shell "sbin/start-thriftserver.sh --master yarn";
2. execute shell "bin/beeline -u "jdbc:hive2://*.*.*.*:10000/default"";
Actually result:
SparkSQL connection failed and the log shows as follows:
16/06/07 14:49:18 WARN HttpParser: Illegal character 0x1 in state=START for 
buffer 
HeapByteBuffer@485a5ad9[p=1,l=35,c=16384,r=34]={\x01<<<\x00\x00\x00\x05PLAIN\x05\x00\x00\x00\x14\x00an...ymous\x00anonymous>>>Type:
 application...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
16/06/07 14:49:18 WARN HttpParser: badMessage: 400 Illegal character 0x1 for 
HttpChannelOverHttp@718db102{r=0,c=false,a=IDLE,uri=}
16/06/07 14:49:19 WARN HttpParser: Illegal character 0x1 in state=START for 
buffer 
HeapByteBuffer@485a5ad9[p=1,l=35,c=16384,r=34]={\x01<<<\x00\x00\x00\x05PLAIN\x05\x00\x00\x00\x14\x00an...ymous\x00anonymous>>>Type:
 application...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
16/06/07 14:49:19 WARN HttpParser: badMessage: 400 Illegal character 0x1 for 
HttpChannelOverHttp@195db217{r=0,c=false,a=IDLE,uri=}

note:
SparkSQL connection succeeded, if using shell command "bin/beeline -u 
"jdbc:hive2://*.*.*.*:10000/default;transportMode=http;httpPath=cliservice""
Two parameters(transportMode&httpPath) have been added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to