What hive-site.xml including in $SPARK_HOME looks like ?

2015-12-10 Thread zml
Hi, I am a beginner at hive, something happened (can not find table ) when I start spark job and read data from hive. I don't set hive-site.xml in $SPARK_HOME/conf. What is the default hive-site.xml looks like ? Thanks, Minglei.

答复: What hive-site.xml including in $SPARK_HOME looks like ?

2015-12-10 Thread zml
hive.metastore.uris thrift://your cluster ip :9083 On 11 December 2015 at 13:09, zml张明磊 mailto:mingleizh...@ctrip.com>> wrote: Hi, I am a beginner at hive, something happened (can not find table ) when I start spark job and read data from hive. I don't set hive-

Loading data from HDFS to hive and leading to many NULL value in hive table

2015-12-15 Thread zml
I am confusing about the following result. Why the hive table has so many NULL value ? hive> select * from managers; OK fergubo01m,BS1,31,20,10,10NULLNULLNULLNULLNULL woodji01m,CH1,28,19,9,9NULLNULLNULLNULLNULL paborch01m,CL1,29,10,19,19NULLNULLNULLNULLNULL lennobi01m,FW1,14,5,9,9NULLNULLNULLNULL

答复: Loading data from HDFS to hive and leading to many NULL value in hive table

2015-12-15 Thread zml
OK, I solve this by add row format delimited fields terminated by ”symbol” .. ff…fff 发件人: zml张明磊 [mailto:mingleizh...@ctrip.com] 发送时间: 2015年12月16日 14:15 收件人: user@hive.apache.org 主题: Loading data from HDFS to hive and leading to many NULL value in hive table I am confusing about the

答复: Loading data from HDFS to hive and leading to many NULL value in hive table

2015-12-16 Thread zml
CSV serde. On 16 Dec 2015, at 07:15, zml张明磊 mailto:mingleizh...@ctrip.com>> wrote: I am confusing about the following result. Why the hive table has so many NULL value ? hive> select * from managers; OK fergubo01m,BS1,31,20,10,10NULLNULLNULLNULLNULL woodji01m,CH1,28,19,9,9NULLNULLNUL

UnsupportedOperationException Schema for type String => Int is not supported

2015-12-22 Thread zml
Hi, Spark-version : 1.4.1 Runing the code getting the following error, how can I fix the code and run collectly ? I don’t know why the schema don’t support this type system. If I use callUDF instead of udf. Everything is good. Thanks, Minglei. val index:(String => (String => Int)) = (value:Str

答复: Re:please remove me from list.

2015-12-26 Thread zml
Please make a more polite way to express your emotion. Thanks, Minglei. 发件人: free [mailto:tomson8...@126.com] 发送时间: 2015年12月26日 21:38 收件人: user@hive.apache.org 抄送: user-unsubscr...@hive.apache.org 主题: Re:please remove me from list. 二逼。。 在 2015-12-26 03:10:48,"无" mailto:carl_...@163.com>> 写道: