[
https://issues.apache.org/jira/browse/HIVE-12848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094572#comment-15094572
]
Sergio Peña commented on HIVE-12848:
------------------------------------
I run these commands in my machine:
{noformat}
sergio@victory:~/Development/hive⟫ JAVA_PATH=($(readlink
/etc/alternatives/java))
sergio@victory:~/Development/hive⟫ JAVA_PATH=`dirname $JAVA_PATH`
sergio@victory:~/Development/hive⟫ JAVA_HOME=$JAVA_PATH/..
sergio@victory:~/Development/hive⟫ echo $JAVA_HOME
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/..
{noformat}
Shouldn't JAVA_HOME point to a previous directory? Like,
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/../.. ?
> Change derby scripts, for HMS upgrade tests, to accomodate 32-bit VM.
> ---------------------------------------------------------------------
>
> Key: HIVE-12848
> URL: https://issues.apache.org/jira/browse/HIVE-12848
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 1.1.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Minor
> Attachments: HIVE-12848.patch
>
>
> HIVE-12796 switches to use 32-bit containers to run the HMS upgrade tests.
> The JAVA_HOME values set in prepare.sh and execute.sh for derby use
> export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
> which are specific to 64-bit VMs.
> Change these scripts to make them architecture-independent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)