PHOENIX-5905 caused the master branch compile broken, because
org.apache.hadoop.hbase.security.access.GetUserPermissionsRequest is only
available in hbase 2.2.x,
so when the hbase.profile=2.0 or hbase.profile=2.1, the compiler boken,
Should we revert PHOENIX-5905 for the moment?
The error messages are :
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[39,47]
cannot find symbol
symbol: class GetUserPermissionsRequest
location: package org.apache.hadoop.hbase.security.access
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1452,48]
cannot find symbol
symbol: method hasUserName()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1452,72]
cannot find symbol
symbol: method getUserName()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1458,32]
cannot find symbol
symbol: method hasColumnFamily()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1458,60]
cannot find symbol
symbol: method getColumnFamily()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1460,32]
cannot find symbol
symbol: method hasColumnQualifier()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1460,63]
cannot find symbol
symbol: method getColumnQualifier()
location: variable request of type
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1461,17]
cannot find symbol
symbol: class GetUserPermissionsRequest
location: class
org.apache.phoenix.end2end.BasePermissionsIT.CustomAccessController
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1463,49]
cannot find symbol
symbol: variable GetUserPermissionsRequest
location: class
org.apache.phoenix.end2end.BasePermissionsIT.CustomAccessController
[ERROR]
<https://builds.apache.org/job/Phoenix-master-matrix/HBASE_PROFILE=2.1/ws/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java>:[1467,29]
cannot find symbol
symbol: variable GetUserPermissionsRequest
location: class org.apache.phoenix.end2end.BasePermissionsIT.Custo
At 2020-06-16 14:26:23, "Istvan Toth" <[email protected]> wrote:
>Hi!
>
>In some cases specifying non-default HBase and Hadoop versions can cause
>this.
>Please report your full maven command line, and I'll look into it.
>In the meantime you can disable the dependency check with -D
>mdep.analyze.skip=true
>
>Istvan
>
>On Mon, Jun 15, 2020 at 7:57 PM swaroopa kadam <[email protected]>
>wrote:
>
>> Thank you for the response, Andrew and Geoffrey. Below is the error message
>> I see:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
>> (enforce-dependencies) on project phoenix-core: Dependency problems found
>> -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
>> switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR] mvn <goals> -rf :phoenix-core
>>
>>
>> On Mon, Jun 15, 2020 at 10:45 AM Geoffrey Jacoby
>> <[email protected]> wrote:
>>
>> > git checkout master, then git pull, then mvn clean package -DskipTests
>> > passes for me, and I double-checked with git status that I don't have
>> > anything "extra" in my local environment.
>> >
>> > Geoffrey
>> >
>> > On Mon, Jun 15, 2020 at 10:29 AM Andrew Purtell <[email protected]>
>> > wrote:
>> >
>> > > Apache mailing list software stripps embedded images. Please post text.
>> > >
>> > >
>> > > On Mon, Jun 15, 2020 at 10:24 AM swaroopa kadam <
>> > > [email protected]>
>> > > wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I am trying to compile the master branch of phoenix and I get the
>> > > > following error message.
>> > > > What has changed recently? Do I need to make additional changes?
>> > > >
>> > > > Thanks.
>> > > >
>> > > > [image: Screen Shot 2020-06-12 at 6.02.25 PM.png]
>> > > >
>> > > > --
>> > > >
>> > > >
>> > > > Swaroopa Kadam
>> > > > [image: https://]about.me/swaroopa_kadam
>> > > > <
>> > >
>> >
>> https://about.me/swaroopa_kadam?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Best regards,
>> > > Andrew
>> > >
>> > > Words like orphans lost among the crosstalk, meaning torn from truth's
>> > > decrepit hands
>> > > - A23, Crosstalk
>> > >
>> >
>>
>>
>> --
>>
>>
>> Swaroopa Kadam
>> [image: https://]about.me/swaroopa_kadam
>> <
>> https://about.me/swaroopa_kadam?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api
>> >
>>