[jira] [Commented] (HIVE-7247) Fix itests using hadoop-1 profile

2014-06-18 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-7247:
---



{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/12650940/HIVE-7247.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 5654 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_ctas
org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/509/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/509/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-509/

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

This message is automatically generated.

ATTACHMENT ID: 12650940

 Fix itests using hadoop-1 profile 
 --

 Key: HIVE-7247
 URL: https://issues.apache.org/jira/browse/HIVE-7247
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Szehon Ho
Assignee: Szehon Ho
 Attachments: HIVE-7247.patch


 Currently building itests using -Phadoop-1 profile results in following 
 failure:
 {noformat}
 $cd itests
 $mvn install -DskipTests -Phadoop-1
 ...
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
 (default-testCompile) on project hive-it-unit: Compilation failure: 
 Compilation failure:
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java:[31,39]
  cannot find symbol
 [ERROR] symbol : class AclStatus
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[20,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryScope
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[20,1]
  static import only from classes and interfaces
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[21,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryType
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[21,1]
  static import only from classes and interfaces
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[22,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryType
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-7247) Fix itests using hadoop-1 profile

2014-06-17 Thread Szehon Ho (JIRA)

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

Szehon Ho commented on HIVE-7247:
-

The offending test is heavily using the HDFS ACL API, which is hadoop-2 only, 
so it won't be easy to fix.

All I can think of is to create a new itests sub-proj that gets compiled and 
run only in hadoop-2 profile.  It might be useful, as there could be more 
hadoop-2 features we want to test in the future.  [~hagleitn], [~brocknoland] 
[~ashutoshc], any thoughts on that?

 Fix itests using hadoop-1 profile 
 --

 Key: HIVE-7247
 URL: https://issues.apache.org/jira/browse/HIVE-7247
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Szehon Ho
Assignee: Szehon Ho





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-7247) Fix itests using hadoop-1 profile

2014-06-17 Thread Brock Noland (JIRA)

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

Brock Noland commented on HIVE-7247:


+1 

 Fix itests using hadoop-1 profile 
 --

 Key: HIVE-7247
 URL: https://issues.apache.org/jira/browse/HIVE-7247
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Szehon Ho
Assignee: Szehon Ho
 Attachments: HIVE-7247.patch


 Currently building itests using -Phadoop-1 profile results in following 
 failure:
 {noformat}
 $cd itests
 $mvn install -DskipTests -Phadoop-1
 ...
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
 (default-testCompile) on project hive-it-unit: Compilation failure: 
 Compilation failure:
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java:[31,39]
  cannot find symbol
 [ERROR] symbol : class AclStatus
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[20,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryScope
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[20,1]
  static import only from classes and interfaces
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[21,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryType
 [ERROR] location: package org.apache.hadoop.fs.permission
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[21,1]
  static import only from classes and interfaces
 [ERROR] 
 /Users/ghagleitner/Projects/hive-test-trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/TestExtendedAcls.java:[22,46]
  cannot find symbol
 [ERROR] symbol : class AclEntryType
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)