Re: Need Help on Eclipse + JDK to load hive project !!

2009-01-31 Thread Prasad Chakka
I use Eclipse 3.4.0 (3.4.1 also works) with Java 6. Try the instruction from 
here http://wiki.apache.org/hadoop/Hive/GettingStarted/EclipseSetup

I use hadoop-0.17.2.1 version instead of hadoop-0.19 since the former works 
well with running unit tests.



From: Shyam Sarkar shyam_sar...@yahoo.com
Reply-To: hive-dev@hadoop.apache.org, shyam_sar...@yahoo.com
Date: Sat, 31 Jan 2009 11:46:35 -0800
To: hive-dev@hadoop.apache.org
Subject: Need Help on Eclipse + JDK to load hive project !!

Hi,

I have a linux box running Red Hat Linux 4. I tried with many eclipse and jdk 
versions but finally eclipse 3.2.1 worked with jdk1.5 java run time. I could 
not load source files from hive into a project.

COULD SOMEONE PLEASE TELL ME THE FOLLOWING ::

(1) Is the version for eclipse + jdk fine for hive development ?
(2) How to load the whole hive project onto eclipse ?

Regards,
shyam_sar...@yahoo.com






Re: Need Help on Eclipse + JDK to load hive project !!

2009-01-31 Thread Shyam Sarkar
Would I lose any recent features if I do not use hadoop-0.19.0 version ?


--- On Sat, 1/31/09, Prasad Chakka pra...@facebook.com wrote:

 From: Prasad Chakka pra...@facebook.com
 Subject: Re: Need Help on Eclipse + JDK to load hive project !!
 To: hive-dev@hadoop.apache.org hive-dev@hadoop.apache.org, 
 shyam_sar...@yahoo.com shyam_sar...@yahoo.com
 Date: Saturday, January 31, 2009, 11:52 AM
 I use Eclipse 3.4.0 (3.4.1 also works) with Java 6. Try the
 instruction from here
 http://wiki.apache.org/hadoop/Hive/GettingStarted/EclipseSetup
 
 I use hadoop-0.17.2.1 version instead of hadoop-0.19 since
 the former works well with running unit tests.
 
 
 
 From: Shyam Sarkar shyam_sar...@yahoo.com
 Reply-To: hive-dev@hadoop.apache.org,
 shyam_sar...@yahoo.com
 Date: Sat, 31 Jan 2009 11:46:35 -0800
 To: hive-dev@hadoop.apache.org
 Subject: Need Help on Eclipse + JDK to load hive project !!
 
 Hi,
 
 I have a linux box running Red Hat Linux 4. I tried with
 many eclipse and jdk versions but finally eclipse 3.2.1
 worked with jdk1.5 java run time. I could not load source
 files from hive into a project.
 
 COULD SOMEONE PLEASE TELL ME THE FOLLOWING ::
 
 (1) Is the version for eclipse + jdk fine for hive
 development ?
 (2) How to load the whole hive project onto eclipse ?
 
 Regards,
 shyam_sar...@yahoo.com


  


Re: Need Help on Eclipse + JDK to load hive project !!

2009-01-31 Thread Shyam Sarkar
I am getting following error for build ant package ::
=


[ssar...@ayush2 hive]$ /usr/java/apache-ant-1.7.1/bin/ant package 
-Dhadoop.version=hadoop-0.17.2.1
Buildfile: build.xml

deploy:

init:

download-ivy:

init-ivy:

settings-ivy:

resolve:
[ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ 
::
:: loading settings :: file = /home/ssarkar/hive/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: 
org.apache.hadoop.hive#common;work...@ayush2
[ivy:retrieve]  confs: [default]
[ivy:retrieve] :: resolution report :: resolve 231ms :: artifacts dl 0ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   1   |   0   |   0   |   0   ||   0   |   0   |
-
[ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve]  WARNINGS
[ivy:retrieve]  module not found: hadoop#core;hadoop-0.17.2.1
[ivy:retrieve]   hadoop-resolver: tried
[ivy:retrieve]-- artifact hadoop#core;hadoop-0.17.2.1!hadoop.tar.gz(source):
[ivy:retrieve]
http://archive.apache.org/dist/hadoop/core/hadoop-hadoop-0.17.2.1/hadoop-hadoop-0.17.2.1.tar.gz
[ivy:retrieve]  ::
[ivy:retrieve]  ::  UNRESOLVED DEPENDENCIES ::
[ivy:retrieve]  ::
[ivy:retrieve]  :: hadoop#core;hadoop-0.17.2.1: not found
[ivy:retrieve]  ::
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/ssarkar/hive/build.xml:83: The following error occurred while executing 
this line:
/home/ssarkar/hive/build-common.xml:83: impossible to resolve dependencies:
resolve failed - see output for details

Total time: 1 second
[ssar...@ayush2 hive]$ 

--- On Sat, 1/31/09, Prasad Chakka pra...@facebook.com wrote:

 From: Prasad Chakka pra...@facebook.com
 Subject: Re: Need Help on Eclipse + JDK to load hive project !!
 To: hive-dev@hadoop.apache.org hive-dev@hadoop.apache.org, 
 shyam_sar...@yahoo.com shyam_sar...@yahoo.com
 Date: Saturday, January 31, 2009, 11:52 AM
 I use Eclipse 3.4.0 (3.4.1 also works) with Java 6. Try the
 instruction from here
 http://wiki.apache.org/hadoop/Hive/GettingStarted/EclipseSetup
 
 I use hadoop-0.17.2.1 version instead of hadoop-0.19 since
 the former works well with running unit tests.
 
 
 
 From: Shyam Sarkar shyam_sar...@yahoo.com
 Reply-To: hive-dev@hadoop.apache.org,
 shyam_sar...@yahoo.com
 Date: Sat, 31 Jan 2009 11:46:35 -0800
 To: hive-dev@hadoop.apache.org
 Subject: Need Help on Eclipse + JDK to load hive project !!
 
 Hi,
 
 I have a linux box running Red Hat Linux 4. I tried with
 many eclipse and jdk versions but finally eclipse 3.2.1
 worked with jdk1.5 java run time. I could not load source
 files from hive into a project.
 
 COULD SOMEONE PLEASE TELL ME THE FOLLOWING ::
 
 (1) Is the version for eclipse + jdk fine for hive
 development ?
 (2) How to load the whole hive project onto eclipse ?
 
 Regards,
 shyam_sar...@yahoo.com


  


[jira] Commented: (HIVE-262) outer join gets some duplicate rows in some scenarios

2009-01-31 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12669286#action_12669286
 ] 

Namit Jain commented on HIVE-262:
-

Ashish suggested the following approach:

Based on join conditions, create a set of all tables being joined (no outer 
join), and if one of them is null for a given value, all of them become null.

For example,

A join B on A.c1=B.c1 join C on A.c1=C.c1 right outer join D on A.c1=D.c1

A,B,C belong to the same group (since A joins with B and A joins with C).

So, for a given key (c1), if there is no row corresponding to either of A, B, 
or C - assume that
there is no row for all of them for that key.

That works for the example above, and the approach is different from the patch

 outer join gets some duplicate rows in some scenarios
 -

 Key: HIVE-262
 URL: https://issues.apache.org/jira/browse/HIVE-262
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.2.0
Reporter: Namit Jain
Assignee: Namit Jain
Priority: Blocker
 Fix For: 0.2.0

 Attachments: patch.262.1.txt, patch262.2.txt


 SELECT * FROM src src1 JOIN src src2 ON (src1.key = src2.key AND src1.key  
 10) RIGHT OUTER JOIN src src3 ON (src1.key = src3.key AND src3.key  20);
 returns duplicate rows for outer join

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.