[
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}
1510097 gunther public void addEnv(Map<String, String> env){
1510097 gunther env.put(UserGroupInformation.HADOOP_TOKEN_FILE_LOCATION,
1510097 gunther tokenPath.toUri().getPath());
1510097 gunther }
{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