[
https://issues.apache.org/jira/browse/HBASE-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214998#comment-13214998
]
Gregory Chanan commented on HBASE-5317:
---------------------------------------
Okay, this looks like a mvn issue.
On linux, if JAVA_HOME is not set, mvn sets JAVA_HOME to be whatever shows up
in "mvn --version"
On mac, mvn appears to not set JAVA_HOME if it is not already set.
So if you set JAVA_HOME to
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" the test
should pass.
The new version of mapreduce requires JAVA_HOME to be set and tries to execute
$JAVA_HOME + "bin/java" -- they should probably report a bug if JAVA_HOME is
not set.
Let me know if you want me to do anything else wrt this issue.
> Fix TestHFileOutputFormat to work against hadoop 0.23
> -----------------------------------------------------
>
> Key: HBASE-5317
> URL: https://issues.apache.org/jira/browse/HBASE-5317
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.92.0, 0.94.0
> Reporter: Gregory Chanan
> Assignee: Gregory Chanan
> Attachments: HBASE-5317-v0.patch, HBASE-5317-v1.patch,
> HBASE-5317-v3.patch, HBASE-5317-v4.patch, HBASE-5317-v5.patch,
> HBASE-5317-v6.patch,
> TEST-org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat.xml
>
>
> Running
> mvn -Dhadoop.profile=23 test -P localTests
> -Dtest=org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
> yields this on 0.92:
> Failed tests:
> testColumnFamilyCompression(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat):
> HFile for column family info-A not found
> Tests in error:
> test_TIMERANGE(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat):
> /home/gchanan/workspace/apache92/target/test-data/276cbd0c-c771-4f81-9ba8-c464c9dd7486/test_TIMERANGE_present/_temporary/0/_temporary/_attempt_200707121733_0001_m_000000_0
> (Is a directory)
>
> testMRIncrementalLoad(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat):
> TestTable
>
> testMRIncrementalLoadWithSplit(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat):
> TestTable
> It looks like on trunk, this also results in an error:
>
> testExcludeMinorCompaction(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat):
> TestTable
> I have a patch that fixes testColumnFamilyCompression and test_TIMERANGE, but
> haven't fixed the other 3 yet.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira