Re: Is it possible to host hive server on port 80?

2013-09-21 Thread Gary Zhao
It worked. Thanks a lot. On Sat, Sep 21, 2013 at 11:39 PM, bharath vissapragada < bharathvissapragada1...@gmail.com> wrote: > Ports below 1024 can only be used by superusers. Try doing a sudo! > > > On Sun, Sep 22, 2013 at 11:55 AM, Gary Zhao wrote: > >> >> >> >> On Sat, Sep 21, 2013 at 11:20 P

Re: Is it possible to host hive server on port 80?

2013-09-21 Thread bharath vissapragada
Ports below 1024 can only be used by superusers. Try doing a sudo! On Sun, Sep 22, 2013 at 11:55 AM, Gary Zhao wrote: > > > > On Sat, Sep 21, 2013 at 11:20 PM, Gary Zhao wrote: > >> Hello >> >> It failed to start hiveserver if I specify 80 port and there is no other >> process using it. I'm wo

Re: Is it possible to host hive server on port 80?

2013-09-21 Thread Gary Zhao
On Sat, Sep 21, 2013 at 11:20 PM, Gary Zhao wrote: > Hello > > It failed to start hiveserver if I specify 80 port and there is no other > process using it. I'm wondering if it's even possible. > > [gzhao@gary-vm1 ~]$ hive --service hiveserver -p 80 > Starting Hive Thrift Server > org.apache.thrif

Re: External table with Avro Serde

2013-09-21 Thread j.barrett Strausser
Fairly sure you just forgot the 'Stored As' clause. The below works for me on .11 CREATE EXTERNAL TABLE avrotab PARTITIONED BY(dq_dummy int) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' OUTPUTFOR

External table with Avro Serde

2013-09-21 Thread Sravya Tirukkovalur
This command fails: CREATE EXTERNAL TABLE avrotab PARTITIONED BY(dummy int) LOCATION '/user/user1/avrodata' ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe' INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroC

RE: Building hive package against latest hadoop-3.0.0-SNAPSHOT

2013-09-21 Thread wesley dias
I did read on the hive documentation that we could build the package using -Dhadoop.version="" option with ant package command. However, it is also mentioned in the documentation that by default, Hadoop tarballs are pulled from http://mirror.facebook.net/facebook/hive-deps. So if the hadoop-3.0.

Re: Building hive package against latest hadoop-3.0.0-SNAPSHOT

2013-09-21 Thread Jagat Singh
Its defined in build.properties You can try changing there and build. http://svn.apache.org/viewvc/hive/trunk/build.properties?revision=1521520&view=markup On 21/09/2013 8:19 PM, "wesley dias" wrote: > Hello Everyone, > > I am new to hive and I had a query related to building the Hive package

Building hive package against latest hadoop-3.0.0-SNAPSHOT

2013-09-21 Thread wesley dias
Hello Everyone, I am new to hive and I had a query related to building the Hive package from source. Is it possible to build a hive distribution against the latest hadoop source which is hadoop-3.0.0-SNAPSHOT? Currently, when I create a hive distribution and try running it against the late