Re: meet error when building hive-2.4.x from source

2017-06-07 Thread Bing Li
Hi, Please try to build hive-storage-api module in local ahead. e.g. cd storage-api mvn clean install -DskipTests And then build the whole hive project. 2017-06-05 17:20 GMT+08:00 赵伟 : > hi! > First of all,Thank you for your reading my letter. > I meet a problem when I build 2.4.x branch from so

File name conflict when have multiple INSERT INTO queries running in parallel

2016-05-25 Thread Bing Li
Hi, All We have an application which connect to HiveServer2 via JDBC. In the application, it executes "INSERT INTO" query to the same table. If there are a lot of users running the application at the same time. Some of the INSERT could fail. >From hadoop log, we knew that the failure was caused

Failed to create HiveMetaStoreClient object in proxy user with Kerberos enabled

2015-11-16 Thread Bing Li
Hi, I wrote a Java client to talk with HiveMetaStore. (Hive 1.2.0) But found that it can't new a HiveMetaStoreClient object successfully via a proxy using in Kerberos env. === 15/10/13 00:14:38 ERROR transport.TSaslTransport: SASL negotiation failure javax.security.sasl.Sas

Fwd: Failed to create HiveMetaStoreClient object in proxy user with Kerberos enabled

2015-11-09 Thread Bing Li
Hi, I wrote a Java client to talk with HiveMetaStore. (Hive 1.2.0) But found that it can't new a HiveMetaStoreClient object successfully via a proxy using in Kerberos env. === 15/10/13 00:14:38 ERROR transport.TSaslTransport: SASL negotiation failure javax.security.sasl.Sas

Re: hive query error

2013-08-21 Thread Bing Li
By default, hive.log should exist in /tmp/. Also, it could be set in $HIVE_HOME/conf/hive-log4j.properties and hive-exec-log4j.properties - hive.log.dir - hive.log.file 2013/8/22 闫昆 > hi all > when exec hive query throw exception as follow > I donnot know where is error log I found $HIVE_HOME/

Re: No java compiler available exception for HWI

2013-08-20 Thread Bing Li
asper-compiler-5.5.23.jar - jasper-runtime-5.5.23.jar Thanks, - Bing 2013/8/20 Bing Li > Hi, Eric et al > Did you resolve this failure? > I'm using Hive-0.11.0, and get the same error when access to HWI via > browser. > > I already set the following

Re: No java compiler available exception for HWI

2013-08-20 Thread Bing Li
Hi, Eric et al Did you resolve this failure? I'm using Hive-0.11.0, and get the same error when access to HWI via browser. I already set the following properties in hive-site.xml - hive.hwi.listen.host - hive.hwi.listen.port - hive.hwi.war.file And copied two jasper jars into hive/lib: - jasper-c

Does HiveServer2 support delegation token?

2013-07-23 Thread Bing Li
Hi, all HiveMetastore supports delegation token. Does HiveServer2 support it as well? If not, do we have a plan for this? Besides, on hive wiki hive.server2.authentication - Authentication mode, default NONE. Options are NONE, KERBEROS, LDAP and CUSTOM Will HiveServer2 support PAM which could be

can hive handle concurrent JDBC statements?

2013-04-16 Thread Bing Li
Hi All, I am writing a java program to run concurrent JDBC statements. But it failed with: org.apache.thrift.TApplicationException: execute failed: out of sequence response The steps are: 1. open a connection to "jdbc:derby://hiveHost:port/commonDb" 2. run select statement at the same time:

Got a hadoop server IPC version mismatch ERROR in TestCliDriver avro_joins.q

2013-01-13 Thread Bing Li
Hi, guys I applied the patches for HIVE-895 ( add SerDe for Avro serialized data ) and HIVE-3273 (Add avro jars into hive execution classpath ) on Hive-0.9.0. And then I ran the following command with hadoop-1.0.3 and avro-1.6.3 ant test -Dtestcase=TestCliDriver -Dqfile=avro_joins.

Re: How to set an empty value to hive.querylog.location to disable the creation of hive history file

2012-12-07 Thread Bing Li
; > I think you a rise it in JIRA. > > ** ** > > Regards > > Ransom**** > > ** ** > > *From:* Bing Li [mailto:sarah.lib...@gmail.com] > *Sent:* Thursday, December 06, 2012 5:06 PM > *To:* user@hive.apache.org > *Subject:* Re: How to set an empty valu

Re: How to set an empty value to hive.querylog.location to disable the creation of hive history file

2012-12-07 Thread Bing Li
I filed it as HIVE-3779 https://issues.apache.org/jira/browse/HIVE-3779 Thanks, - Bing 2012/12/6 Hezhiqiang (Ransom) > It’s not supported now. > > I think you a rise it in JIRA. > > ** ** > > Regards > > Ransom > > ** ** > > *From:*

Re: How to set an empty value to hive.querylog.location to disable the creation of hive history file

2012-12-06 Thread Bing Li
ds. > > > On Thu, Dec 6, 2012 at 2:14 PM, Bing Li wrote: > >> Hi, all >> Refer to https://cwiki.apache.org/Hive/adminmanual-configuration.html, >> if I set "hive.querylog.location" to an empty string, it won't create >> structured log. >> >

How to set an empty value to hive.querylog.location to disable the creation of hive history file

2012-12-06 Thread Bing Li
Hi, all Refer to https://cwiki.apache.org/Hive/adminmanual-configuration.html, if I set "hive.querylog.location" to an empty string, it won't create structured log. I filed hive-site.xml in HIVE_HOME/conf and add the following setting, hive.querylog.location BUT it didn't work, when launch

Re: hive-site.xml not found on classpath

2012-11-30 Thread Bing Li
ive/conf > > But even so the following problems occur: > >- the message "hive-site.xml is not found in the classpath" >- none of the hive-site.xml values are taking properly >- the log4j.properties in that same directory is not taking effect. > > > >

Re: hive-site.xml not found on classpath

2012-11-29 Thread Bing Li
Hi, Stephen what did you mean the "wrong place under /tmp" in "I am seeing the following message in the logs (which are in the wrong place under /tmp..)" ? Did you mean that you set a different log dir but it didn't work? the log dir should be set in conf/hive-log4j.properties, conf/hive-exec-log

Re: Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?

2012-04-13 Thread Bing Li
Are the failures ONLY caused by Test case? 在 2012年4月14日 上午1:14,Bing Li 写道: > thanks, Andes > > > 2012/4/13 ylyy-1985 > >> ** >> I would tell that system works with : hadoop0.20,hbase-0.90.3,hibve-0.8.1 >> and zookeeper-

Re: Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?

2012-04-13 Thread Bing Li
> > Email:ylyy-1...@163.com > ** > ------ > *发件人:*Bing Li > *发送时间:*2012-04-13 18:35 > *主题:*Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2? > *收件人:*"dev","user" > *抄送:* > > Hi, guys > I ran Hive-0.8.0 UT with > - Hadoop-1.0.0 ( applied pat

Can hive-0.8.0 could work with HBase-0.9.2 and Zookeeper-3.4.2?

2012-04-13 Thread Bing Li
Hi, guys I ran Hive-0.8.0 UT with - Hadoop-1.0.0 ( applied patches for HIVE-2631 and HIVE-2629) - HBase-0.92.0 - Zookeeper-3.4.2 But got the following error message: [echo] Project: hbase-handler [junit] Running org.apache.hadoop.hive.cli.TestHBaseCliDriver [junit] org.apache.hadoop.

Can hive-0.8.0 could work with HBase-0.92.0 and Zookeeper-3.4.2

2012-04-13 Thread Bing Li
Hi, guys Currently, I run hive-0.8.0 UT with - hadoop-1.0.0 (apply patchs for HIVE-2631 and HIVE-2629 - hbase-0.92.0 - zookeeper-3.4.2 But got the following error messages: [echo] Project: hbase-handler [junit] Running org.apache.hadoop.hive.cli.TestHBaseCliDriver [junit] org.apache.

Get race condition in hive with script_pipe.q ( the same as HIVE-1491)

2012-02-07 Thread Bing Li
Hi,All I got the same error message described in [HIVE-1491] ( https://issues.apache.org/jira/browse/HIVE-1491) when ran script_pipe.q on Open JDK. Will hive plan to resolve this race condition? Details: = [junit] Begin query: script_pipe.q [junit] Ended

Cannot create an instance of InputFormat

2012-01-17 Thread Bing Li
My Steps: I define a class "public class myInputFormat extends TextInputFormat implements JobConfigurable" to specify input format. hive> add jar /home/biadmin/hiveudf/myFileFormat.jar; Added /home/biadmin/hiveudf/myFileFormat.jar to class path Added resource: /home/biadmin/hiveudf/myFileFormat.ja

Hive JOIN fails if SELECT statement contains fields from the first table.

2012-01-16 Thread Bing Li
1. I create two Hive table: Hive> CREATE EXTERNAL TABLE student_details (studentid INT,studentname STRING,age INT,gpa FLOAT) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE LOCATION ‘/home/biadmin/hivetbl'; Hive>CREATE EXTERNAL TABLE student_score(studentid INT, classid INT,scor

Does hive REAL enable TestHadoop20SAuthBridge in hive-0.8.0 ? -- [HIVE-2257] patch doesn't work for me

2011-12-22 Thread Bing Li
Hi, All When I ran hive UT, I found that TestHadoop20SAuthBridge wasn't compiled, so TestHadoop20SAuthBridge won't be run by "ant test" command. In src/shims/build.xml, I found the following lines: Then, I commented off lines in blue, and it could generate the class file of

A bug or work as design ? - MetaStore, createDatabase()

2011-12-15 Thread Bing Li
Hi, Devs When I ran Hive UT with the candidate build of Hive-0.8.0, I found that TestEmbeddedHiveMetaStore and TestRemoteHiveMetaStore always FAILED with ROOT account while PASS with NON-ROOT account. I took a look at the source code of TestHiveMetaStore, and found that fs.mkdirs(

FW: a potential bug in HIVE/HADOOP ? -- MetaStore, createDatabase()

2011-12-14 Thread Bing Li
fyi --- 11年12月14日,周三, Bing Li 写道: 发件人: Bing Li 主题: a potential bug in HIVE/HADOOP ? -- MetaStore, createDatabase() 收件人: "hive dev list" 日期: 2011年12月14日,周三,下午8:32 Hi, developers When I ran Hive UT with the candidate build of Hive-0.8.0, I found that TestEmbeddedHiveMet

FW: a potential bug in HIVE/HADOOP ? -- MetaStore, createDatabase()

2011-12-14 Thread Bing Li
fyi --- 11年12月14日,周三, Bing Li 写道: 发件人: Bing Li 主题: a potential bug in HIVE/HADOOP ? -- MetaStore, createDatabase() 收件人: "hive dev list" 日期: 2011年12月14日,周三,下午8:32 Hi, developers When I ran Hive UT with the candidate build of Hive-0.8.0, I found that TestEmbeddedHiveMet

How to make hive handle/show Chinese words

2011-11-02 Thread Bing Li
Hi, guysI want to load some data files which including Chinese words.Currently, I found Hive can't display it well.Is there some setting/properties that I can configure to resolve this? Thanks,Bing

Does hive support running on an existing NFS

2011-10-31 Thread Bing Li
When I distribute Hive to a NFS and execute a select command, it failed: hive> SELECT a.foo FROM invites a;Total MapReduce jobs = 1Launching Job 1 out of 1Number of reduce tasks is set to 0 since there's no reduce operatorStarting Job = job_201110310722_0001, Tracking URL = http://localhost:5003

Hive runtime error while run TestCliDriver auto_join21.q

2011-10-25 Thread Bing Li
Hi, Guys I met an error which is similar like described in HIVE-1478, but not exactly the same when run auto_join21.q in TestCliDriver. Do you have some ideas on this? == Re-Produce == Hive: 0.7.1 ANT: 1.8.2 Hadoop: 0.20.2 command: ant test -Dtestcase=TestCliDriver -Dqfile