Spark snappy
2016-07-22 11:57
260 查看
Spark Snappy 问题
In my experience, if you cd into the
You will also have to edit this
hive on spark:
yarn logs 发现:
连接Hive元数据库 配置hive-site
In my experience, if you cd into the
/sparkDir/confand rename the spark-env.sh.template to spark-env.sh, and then set the JAVA_OPTSand hadoop_DIR, it works.
You will also have to edit this
/etc/profileline:
export LD_LIBRARY_PATH=$HADOOP_HOME/lib/native/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$HADOOP_HOME/lib/native/:$LD_LIBRARY_PATH
hive on spark:
[Error 30017]: Skipping stats aggregation by error org.apache.hadoop.hive.ql.metadata.HiveException: [Error 30001]: StatsPublisher cannot be initialized. There was a error in the initialization of StatsPublisher, and retrying might help. If you dont want the query to fail because accurate statistics could not be collected, set hive.stats.reliable=false Table tmp.app_fin_assign_debt stats: [numFiles=2, numRows=-1, totalSize=80885949, rawDataSize=-1]
yarn logs 发现:
16/06/12 17:43:14 ERROR jdbc.JDBCStatsPublisher: Error during JDBC connection to jdbc:mysql://127.0.0.1:3306;databaseName=TempStatsStore;create=true. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "3306;databaseName=TempStatsStore;create=true"'. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386)
连接Hive元数据库 配置hive-site
<property> <name>hive.stats.jdbcdriver</name> <value>com.mysql.jdbc.Driver</value> <description>The JDBC driver for the database that stores temporary hive statistics.</description> </property>
<property> <name>hive.stats.dbconnectionstring</name> <value>jdbc:mysql://******:3306;databaseName=TempStatsStore;create=true</value> <description>The default connection string for the database that stores temporary hive statistics.</description> </property>
相关文章推荐
- JS JAVA 判断是否微信浏览器(未测试)
- Server.MapPath找不到命名空间,解决办法
- android系统服务及权限设置
- 【Ionic实战】自动升级Android APP
- android学习笔记 SwipeRefreshLayout 的使用
- Android中页面自动刷新操作
- Android app 性能优化之视图优化
- android:layout_gravity和android:gravity的区别
- 解决手机浏览器和微信中select中border:none;无用和去掉小三角
- Eventbus的第一次接触
- iOS之TableViewCell加载动画
- Android相关技术知识点
- iOS开发-自定义控件的方式及注意
- Hbuider hybrid app开发之地图位置信息操作方法
- android开发中常用的快捷键
- IOS 实现简单的弹幕功能
- IOS启动另外APP
- Hbuider hybrid app开发之地图操作方法
- android Ant 打包
- iOS状态栏效果 指示器 开源框架 附有Demo