beeline -f 执行sql文件,如果报“Error: Error while compiling statement: FAILED: ParseException line 1:814 cannot recognize input near ‘;’ ’ in expression specification (state=42000,code=40000)”错误。可能是因为“;”后面有空格...
分类:
其他好文 时间:
2015-04-22 18:38:45
阅读次数:
5928
不要使用local关键字 load data local inpath 是不行
beeline & 方式存在问题,是beeline得bug ,使用nohup sh xxx.sh & 也会出错
beeline -f 执行sql文件,如果报“Error: Error while compiling statement: FAILED: ParseException line 1:814 c...
分类:
Web程序 时间:
2015-04-22 18:38:21
阅读次数:
185
启动hiveserver2:hiveserver2 --hiveconf hive.execution.engine=spark spark.master=yarn使用beeline连接hiveserver2:beeline -u jdbc:hive2://hadoop000:10000 -n sp...
分类:
其他好文 时间:
2015-03-12 18:56:16
阅读次数:
835
题意:有一个半径为100的圆形蛋糕,蛋糕上有一些樱桃。现在妈妈要把蛋糕分两半,因为要均分给两人,所以肯定是从原点切出来的。然后还需要两半蛋糕各含一半数目的樱桃,而且所切的地方不会切到樱桃。求所切下的这条直线的方程,Ax+By=0 中的 A 和 B 的值。
cherry 樱桃;beeline 直线;coordinate 坐标
思路:可以看到大体的思路就是找到一条直线,使得所有樱桃的坐标满足 Ax...
分类:
其他好文 时间:
2015-02-07 00:36:46
阅读次数:
184
最近在测试hive0.11hiveserver时遇到的一个关于认证的bug,具体表现:在配置中指定了custom的认证方式时,通过beeline连接hiveserver2,发现连接hang祝hive配置:<property>
<name>hive.server2.authentication</name>a
<value>CUSTOM</value>
&l..
分类:
其他好文 时间:
2015-01-12 06:57:09
阅读次数:
420
当用beeline连接default后,通过use xxx切换到其他数据库,再退出,再次使用beeline -u jdbc:hive2://hadoop000:10000/default -n spark连接到default,此时后台连接的其实还是xxx测试步骤:1、beeline -u jdbc:...
分类:
其他好文 时间:
2014-12-25 17:54:44
阅读次数:
449
Thrift JDBC Server描述Thrift JDBC Server使用的是HIVE0.12的HiveServer2实现。能够使用Spark或者hive0.12版本的beeline脚本与JDBC Server进行交互使用。Thrift JDBC Server默认监听端口是10000。使用Th...
分类:
数据库 时间:
2014-09-13 18:30:55
阅读次数:
468