Re: Error while executing program with Hive JDBC

2012-04-26 Thread Aniket Mokashi
put libthrift and libfb303 jars on classpath. Thanks, Aniket On Wed, Apr 25, 2012 at 11:14 PM, Bhavesh Shah wrote: > Hello all, > I have written this small program But I am getting error. > > Program: > - > import java.io.FileWriter; > import java.io.InputStream; > import java.sql.Co

Re: Error while executing program with Hive JDBC

2012-04-26 Thread alo alt
You have to use fb303 and libthrift jars, and putting them into the classpath or export them. - Alex -- Alexander Lorenz http://mapredit.blogspot.com On Apr 26, 2012, at 8:14 AM, Bhavesh Shah wrote: > Hello all, > I have written this small program But I am getting error. > > Program: > -

[jira] [Commented] (HIVE-494) Select columns by index instead of name

2012-04-26 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262449#comment-13262449 ] Carl Steinbach commented on HIVE-494: - bq. It seemed not a standard SQL and also could b

[jira] [Assigned] (HIVE-494) Select columns by index instead of name

2012-04-26 Thread Navis (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis reassigned HIVE-494: -- Assignee: (was: Navis) Agree on carl's opinion. > Select columns by index instead of name >

Error related Hadoop while running Amazon EMR Job

2012-04-26 Thread Bhavesh Shah
Hello all, I launched my instance on Amazon EMR. And I run the job yesterday on it and I got the following error in log fies (Log Files of JobTracker) DataStreamer Exception: org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /mnt/var/lib/hadoop/tmp/mapred/system/ jobtracker.info co

[jira] [Commented] (HIVE-2424) Don't expose thrift, commons and json classes in the hive exec jar

2012-04-26 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262743#comment-13262743 ] Travis Crawford commented on HIVE-2424: --- I think the root of the issue is hive-exec c

[jira] [Work started] (HIVE-581) improve group by syntax

2012-04-26 Thread Weizhe Shi (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HIVE-581 started by Weizhe Shi. > improve group by syntax > --- > > Key: HIVE-581 > URL: https://issues.apache.o

[jira] [Updated] (HIVE-581) improve group by syntax

2012-04-26 Thread Weizhe Shi (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Weizhe Shi updated HIVE-581: Labels: features (was: ) Release Note: Allow the syntax of position alias in groupby expression.

[jira] [Commented] (HIVE-581) improve group by syntax

2012-04-26 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262782#comment-13262782 ] Carl Steinbach commented on HIVE-581: - @Weizhe: Glad to seem someone wants to work on th

Hive server concurrent connection

2012-04-26 Thread Benyi Wang
I'm a little confused with "In fact, it's impossible for HiveServer to support concurrent connections using the current Thrift API" in hive wiki page https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Thrift+API. I started a hive server on hostA using cdh3u3 hadoop-hive.noarch

[jira] [Created] (HIVE-2981) store the query that populated the partition in the hive metastore

2012-04-26 Thread Namit Jain (JIRA)
Namit Jain created HIVE-2981: Summary: store the query that populated the partition in the hive metastore Key: HIVE-2981 URL: https://issues.apache.org/jira/browse/HIVE-2981 Project: Hive Issue

[jira] [Commented] (HIVE-2424) Don't expose thrift, commons and json classes in the hive exec jar

2012-04-26 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262898#comment-13262898 ] Travis Crawford commented on HIVE-2424: --- To make the discussion a bit more concrete,

Hive-0.9.0-SNAPSHOT-h0.21 - Build # 2 - Still Failing

2012-04-26 Thread Apache Jenkins Server
Changes for Build #1 Changes for Build #2 1 tests failed. REGRESSION: org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1 Error Message: Unexpected exception See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. Stack

Hive locking retries

2012-04-26 Thread Edward Capriolo
All, I use hive locking and I commonly get this error. HiveServerException(message:Query returned non-zero code: 10, cause: FAILED: Error in acquiring locks: locks on the underlying objects cannot be acquired. retry after some time, errorCode:10, SQLState:42000) The default settings for hive are

Hive-trunk-h0.21 - Build # 1398 - Still Failing

2012-04-26 Thread Apache Jenkins Server
Changes for Build #1397 [kevinwilfong] HIVE-2918. Hive Dynamic Partition Insert - move task not considering 'hive.exec.max.dynamic.partitions' from CLI. (cwsteinbach via kevinwilfong) Changes for Build #1398 1 tests failed. FAILED: org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegat

[jira] [Created] (HIVE-2982) When using Inputsplits that don't extend FileInputSplits, hive attempts to create a Path with an empty string which will always crash.

2012-04-26 Thread Tristan Buckner (JIRA)
Tristan Buckner created HIVE-2982: - Summary: When using Inputsplits that don't extend FileInputSplits, hive attempts to create a Path with an empty string which will always crash. Key: HIVE-2982 URL: https://issue

[jira] [Commented] (HIVE-2424) Don't expose thrift, commons and json classes in the hive exec jar

2012-04-26 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263210#comment-13263210 ] Carl Steinbach commented on HIVE-2424: -- The downside of the thin jar approach is that

[jira] [Commented] (HIVE-2424) Don't expose thrift, commons and json classes in the hive exec jar

2012-04-26 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263224#comment-13263224 ] Travis Crawford commented on HIVE-2424: --- Possibly jarjar/shade will solve the problem

[jira] [Commented] (HIVE-2424) Don't expose thrift, commons and json classes in the hive exec jar

2012-04-26 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263238#comment-13263238 ] Travis Crawford commented on HIVE-2424: --- Looking at JarJar it aims to solve exactly t

[jira] [Created] (HIVE-2983) Hive ant targets for publishing maven artifacts can be simplified

2012-04-26 Thread Travis Crawford (JIRA)
Travis Crawford created HIVE-2983: - Summary: Hive ant targets for publishing maven artifacts can be simplified Key: HIVE-2983 URL: https://issues.apache.org/jira/browse/HIVE-2983 Project: Hive

[jira] [Updated] (HIVE-2983) Hive ant targets for publishing maven artifacts can be simplified

2012-04-26 Thread Phabricator (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-2983: -- Attachment: HIVE-2983.D2961.1.patch travis requested code review of "HIVE-2983 [jira] Hive ant targets f

[jira] [Updated] (HIVE-2983) Hive ant targets for publishing maven artifacts can be simplified

2012-04-26 Thread Travis Crawford (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis Crawford updated HIVE-2983: -- Status: Patch Available (was: Open) > Hive ant targets for publishing maven artifacts can b

[jira] [Commented] (HIVE-2757) hive can't find hadoop executor scripts without HADOOP_HOME set

2012-04-26 Thread Ashutosh Chauhan (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263267#comment-13263267 ] Ashutosh Chauhan commented on HIVE-2757: @Roman, Your patch is definitely an improv

[jira] [Commented] (HIVE-2918) Hive Dynamic Partition Insert - move task not considering 'hive.exec.max.dynamic.partitions' from CLI

2012-04-26 Thread Ashutosh Chauhan (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263271#comment-13263271 ] Ashutosh Chauhan commented on HIVE-2918: Looks like this has broken the trunk. See,

[jira] [Commented] (HIVE-2804) Task log retrieval fails on secure cluster

2012-04-26 Thread Zhenxiao Luo (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263272#comment-13263272 ] Zhenxiao Luo commented on HIVE-2804: By creating an ThrowNullPointer UDF, and running i

[jira] [Updated] (HIVE-2721) ability to select a view qualified by the database / schema name

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-2721: - Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committe

[jira] [Commented] (HIVE-2904) ant gen-test failed

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263281#comment-13263281 ] Namit Jain commented on HIVE-2904: -- +1 > ant gen-test failed > --

[jira] [Updated] (HIVE-2904) ant gen-test failed

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-2904: - Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committe

[jira] [Created] (HIVE-2984) Fix test failure in TestNegativeCliDriver.dyn_part_max caused by HIVE-2918

2012-04-26 Thread Carl Steinbach (JIRA)
Carl Steinbach created HIVE-2984: Summary: Fix test failure in TestNegativeCliDriver.dyn_part_max caused by HIVE-2918 Key: HIVE-2984 URL: https://issues.apache.org/jira/browse/HIVE-2984 Project: Hive

[jira] [Commented] (HIVE-2984) Fix test failure in TestNegativeCliDriver.dyn_part_max caused by HIVE-2918

2012-04-26 Thread Carl Steinbach (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263290#comment-13263290 ] Carl Steinbach commented on HIVE-2984: -- https://builds.apache.org/job/Hive-trunk-h0.21

[jira] [Created] (HIVE-2985) Create a new test framework

2012-04-26 Thread Namit Jain (JIRA)
Namit Jain created HIVE-2985: Summary: Create a new test framework Key: HIVE-2985 URL: https://issues.apache.org/jira/browse/HIVE-2985 Project: Hive Issue Type: New Feature Reporter:

[jira] [Created] (HIVE-2986) Create the hooks

2012-04-26 Thread Namit Jain (JIRA)
Namit Jain created HIVE-2986: Summary: Create the hooks Key: HIVE-2986 URL: https://issues.apache.org/jira/browse/HIVE-2986 Project: Hive Issue Type: New Feature Reporter: Namit Jain

[jira] [Assigned] (HIVE-2985) Create a new test framework

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain reassigned HIVE-2985: Assignee: Namit Jain > Create a new test framework > --- > >

[jira] [Commented] (HIVE-2986) Create the hooks

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263299#comment-13263299 ] Namit Jain commented on HIVE-2986: -- https://reviews.facebook.net/differential/diff/9471/

[jira] [Updated] (HIVE-2986) Create the hooks

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-2986: - Attachment: hive.1.2986.patch > Create the hooks > > > Key: HIVE-2986

[jira] [Updated] (HIVE-2986) Create the hooks

2012-04-26 Thread Namit Jain (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-2986: - Status: Patch Available (was: Open) > Create the hooks > > > Key: HI

[jira] [Commented] (HIVE-2721) ability to select a view qualified by the database / schema name

2012-04-26 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263303#comment-13263303 ] Hudson commented on HIVE-2721: -- Integrated in Hive-trunk-h0.21 #1399 (See [https://builds.apa

Hive-trunk-h0.21 - Build # 1399 - Still Failing

2012-04-26 Thread Apache Jenkins Server
Changes for Build #1397 [kevinwilfong] HIVE-2918. Hive Dynamic Partition Insert - move task not considering 'hive.exec.max.dynamic.partitions' from CLI. (cwsteinbach via kevinwilfong) Changes for Build #1398 Changes for Build #1399 [namit] HIVE-2721 ability to select a view qualified by the da

Trying to write an elastic search storage handler and running into trouble with MapOperator

2012-04-26 Thread Tristan Buckner
When I try to select from a table being backed by an elastic search index I get this error (Plus some logging I added to try and see what was going on): 2012-04-26 18:57:15,502 INFO org.apache.hadoop.hive.ql.exec.MapOperator: Path to aliases is: {hdfs://localhost:9000/user/hive/warehouse/elastic_s

Re: ant test fails

2012-04-26 Thread Srinivasan Rajivelu
I am getting this error, test-init: [echo] Project: service [mkdir] Created dir: /Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/data [mkdir] Created dir: /Users/srinivasanrajivelu/Desktop/hive-latest/src/build/service/test/logs/clientpositive [mkdir] Created