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

Istvan Toth commented on HBASE-24280:
-------------------------------------

This looks like an issue with the test setup.

I haven't checked in the docs, but 

{noformat}
mvn help:active-profiles -Phadoop-3.0 -pl hbase-rest
..
The following profiles are active:

 - hadoop-2.0 (source: org.apache.hbase:hbase-rest:2.3.0-SNAPSHOT)
 - hadoop-3.0 (source: org.apache.hbase:hbase-rest:2.3.0-SNAPSHOT)
 - rsgroup (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - build-with-jdk8 (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - os.linux (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - hadoop-2.0 (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - hadoop-3.0 (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)

mvn help:active-profiles -Dhadoop.profile=3.0 -pl hbase-rest
...
 - hadoop-3.0 (source: org.apache.hbase:hbase-rest:2.3.0-SNAPSHOT)
 - rsgroup (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - build-with-jdk8 (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - os.linux (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
 - hadoop-3.0 (source: org.apache.hbase:hbase:2.3.0-SNAPSHOT)
{noformat}

Mixing system property based, and direct profile activation never works.

I'll ask around for someone who has an idea of how to begin to fix this.

> TestSecureRESTServer started failing in nightlies for Hadoop3
> -------------------------------------------------------------
>
>                 Key: HBASE-24280
>                 URL: https://issues.apache.org/jira/browse/HBASE-24280
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Major
>             Fix For: 2.3.0
>
>         Attachments: 
> TEST-org.apache.hadoop.hbase.rest.TestSecureRESTServer.xml
>
>
> [~ndimiduk] pointed out that, after this change went in, TestSecureRESTServer 
> started failing with Hadoop3 on branch-2.3
> https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/56/
> Of course, I ran this with 1.8.0_241 and Maven 3.6.33 and it passed :) {{mvn 
> clean package -Dtest=TestSecureRESTServer -Dhadoop.profile=3.0 
> -DfailIfNoTests=false}}
> FYI [~stoty] in case you can repro a failure and want to dig in. Feel free to 
> re-assign.
> It looks like we didn't have a nightly run of branch-2.2 due to docker 
> container build issues. Will be interesting to see if it fails there. It did 
> not fail the master nightly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to