[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728942#comment-13728942
 ] 

Edward Capriolo commented on HIVE-4991:
---

{code}
1510097gunther   public void addEnv(Map env){
1510097gunther env.put(UserGroupInformation.HADOOP_TOKEN_FILE_LOCATION,
1510097gunther tokenPath.toUri().getPath());
1510097gunther   }
{code}

This is wrong as well ^ remember Hiveworks with hadoop 0.20.0. So post 0.20.0 
hacks need a shim.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728943#comment-13728943
 ] 

Edward Capriolo commented on HIVE-4991:
---

First part of fix.
{quote}
[edward@jackintosh hive-trunk]$ svn diff
Index: shims/ivy.xml
===
--- shims/ivy.xml   (revision 1510299)
+++ shims/ivy.xml   (working copy)
@@ -121,6 +121,12 @@
 
 
 
+
+  
+  
+  
+
+
 
{quote}

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Gunther Hagleitner (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728971#comment-13728971
 ] 

Gunther Hagleitner commented on HIVE-4991:
--

[~appodictic] Thanks, seems you already fixed the issue from HIVE-4343 as well. 
Is there anything else left I should take a look at?

+1

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728976#comment-13728976
 ] 

Edward Capriolo commented on HIVE-4991:
---

No. I was a little unsure why only hadoop-0.20 needed the commons-io lib, but I 
guess it is because things in other versions of hadoop include this. Not sure 
exactly when it broke but it must have been that way for a while ?

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728985#comment-13728985
 ] 

Hive QA commented on HIVE-4991:
---



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12595823/HIVE-4991.2.patch.txt

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 2759 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/302/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/302/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests failed with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Gunther Hagleitner (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728996#comment-13728996
 ] 

Gunther Hagleitner commented on HIVE-4991:
--

I see. Looked through the dependencies. You're right both hadoop 1 & 2 line 
pull in commons-io 2.1 which we use transitively. I think this was broken in: 
HIVE-4505


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-04 Thread Thejas M Nair (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729064#comment-13729064
 ] 

Thejas M Nair commented on HIVE-4991:
-

Sorry about introducing another 0.20 build problem with HIVE-4343. I should 
have verified the 0.20 build.

Regarding the patch -
commons-io version is already defined in ivy/libraries.properties, I think we 
should re-use that ie in shims/ivy.xml - 
{code}

{code}


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Arup Malakar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729808#comment-13729808
 ] 

Arup Malakar commented on HIVE-4991:


I see the following error complaining about an import in HiveSessionImpl.java I 
see that HiveSessionImpl doesn't use the import. Removing the import fixed the 
problem for me.

{code}
 [echo] Project: service
[javac] Compiling 144 source files to 
/Users/malakar/code/oss/hive/build/service/classes
[javac] 
/Users/malakar/code/oss/hive/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java:29:
 package org.apache.commons.io does not exist
[javac] import org.apache.commons.io.FileUtils;
[javac] ^
[javac] Note: 
/Users/malakar/code/oss/hive/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
{code}

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Gunther Hagleitner (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730182#comment-13730182
 ] 

Gunther Hagleitner commented on HIVE-4991:
--

[~appodictic] If you're fine with patch .3 (only difference is to reuse 
existing property) I'll commit that.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Gunther Hagleitner (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730185#comment-13730185
 ] 

Gunther Hagleitner commented on HIVE-4991:
--

[~amalakar] I cannot reproduce your findings. With Ed's patch in place 
everything compiles for me for 20, 20S and 23. All of them have commons-io on 
the classpath now.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730273#comment-13730273
 ] 

Edward Capriolo commented on HIVE-4991:
---

Yes .3 is fine.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730327#comment-13730327
 ] 

Hive QA commented on HIVE-4991:
---



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12596243/HIVE-4991.3.patch.txt

{color:green}SUCCESS:{color} +1 2763 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/318/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/318/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Gunther Hagleitner (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730401#comment-13730401
 ] 

Gunther Hagleitner commented on HIVE-4991:
--

Committed to trunk. Thanks Edward!

> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-05 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730449#comment-13730449
 ] 

Hudson commented on HIVE-4991:
--

FAILURE: Integrated in Hive-trunk-hadoop2 #331 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/331/])
HIVE-4991: hive build with 0.20 is broken (Edward Capriolo via Gunther 
Hagleitner) (gunther: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1510861)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/SecureCmdDoAs.java
* /hive/trunk/shims/ivy.xml


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Fix For: 0.12.0
>
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730686#comment-13730686
 ] 

Hudson commented on HIVE-4991:
--

SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #118 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/118/])
HIVE-4991: hive build with 0.20 is broken (Edward Capriolo via Gunther 
Hagleitner) (gunther: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1510861)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/SecureCmdDoAs.java
* /hive/trunk/shims/ivy.xml


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Fix For: 0.12.0
>
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730747#comment-13730747
 ] 

Hudson commented on HIVE-4991:
--

FAILURE: Integrated in Hive-trunk-hadoop2-ptest #47 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/47/])
HIVE-4991: hive build with 0.20 is broken (Edward Capriolo via Gunther 
Hagleitner) (gunther: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1510861)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/SecureCmdDoAs.java
* /hive/trunk/shims/ivy.xml


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Fix For: 0.12.0
>
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4991) hive build with 0.20 is broken

2013-08-06 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731459#comment-13731459
 ] 

Hudson commented on HIVE-4991:
--

SUCCESS: Integrated in Hive-trunk-h0.21 #2248 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2248/])
HIVE-4991: hive build with 0.20 is broken (Edward Capriolo via Gunther 
Hagleitner) (gunther: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1510861)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/SecureCmdDoAs.java
* /hive/trunk/shims/ivy.xml


> hive build with 0.20 is broken
> --
>
> Key: HIVE-4991
> URL: https://issues.apache.org/jira/browse/HIVE-4991
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Thejas M Nair
>Assignee: Edward Capriolo
>Priority: Blocker
>  Labels: newbie
> Fix For: 0.12.0
>
> Attachments: HIVE-4991.2.patch.txt, HIVE-4991.3.patch.txt, 
> HIVE-4991.patch.txt
>
>
> As reported in HIVE-4911 
> ant clean package -Dhadoop.mr.rev=20
> Fails with - 
> {code}
> compile:
>  [echo] Project: ql
> [javac] Compiling 898 source files to 
> /Users/malakar/code/oss/hive/build/ql/classes
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35:
>  package org.apache.commons.io does not exist
> [javac] import org.apache.commons.io.FileUtils;
> [javac] ^
> [javac] 
> /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743:
>  cannot find symbol
> [javac] symbol  : variable FileUtils
> [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
> [javac] FileUtils.deleteDirectory(resourceDir);
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira