[jira] [Created] (PHOENIX-6478) The build of phoenix-connectors fails due to missing dependency of pentaho-aggdesigner-algorithm 5.1.5-jhyde

2021-05-27 Thread Martin Tzvetanov Grigorov (Jira)
Martin Tzvetanov Grigorov created PHOENIX-6478:
--

 Summary: The build of phoenix-connectors fails due to missing 
dependency of  pentaho-aggdesigner-algorithm 5.1.5-jhyde
 Key: PHOENIX-6478
 URL: https://issues.apache.org/jira/browse/PHOENIX-6478
 Project: Phoenix
  Issue Type: Bug
  Components: hive-connector
Reporter: Martin Tzvetanov Grigorov


The build of phoenix4-hive fails because clojars.org is no more active Maven 
repository and org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde could 
not be found in Maven Central

 
{code:java}
INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  6.181 s
[INFO] Finished at: 2021-05-27T08:54:09+01:00
[INFO] 
[ERROR] Failed to execute goal on project phoenix4-hive: Could not resolve 
dependencies for project org.apache.phoenix:phoenix4-hive:jar:6.0.0-SNAPSHOT: 
Failure to find org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde in 
https://repository.apache.org/content/repositories/releases/ was cached in the 
local repository, resolution will not be reattempted until the update interval 
of apache release has elapsed or updates are forced -> [Help 1]
 {code}



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


[jira] [Updated] (PHOENIX-6475) Build failure on Linux ARM64

2021-05-27 Thread Martin Tzvetanov Grigorov (Jira)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Tzvetanov Grigorov updated PHOENIX-6475:
---
Description: 
 The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
not provide protoc binary for aarch64:

 
{code:java}
[ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) 
on project phoenix-core: Unable to resolve artifact: Missing:
[ERROR] --
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
[ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR] 1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR] --
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)


{code}
 

As discussed at 
[https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
 updating to Protobuf 3.5+ is not an option at the moment.

To preserve backward compatibility Phoenix should continue using Protobuf 2.x.

The only working solution I was able to find is to use 
[https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64

 

 

  was:
The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
not provide protoc binary for aarch64:

 
{code:java}
[ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) 
on project phoenix-core: Unable to resolve artifact: Missing:
[ERROR] --
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
[ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR] 1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR] --
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)


{code}
 

As discussed at 
[https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
 updating to Protobuf 3.5+ is not an option at the moment.

To preserve backward compatibility Phoenix should continue using Protobuf 2.x.

The only working solution I was able to find is to use 
[https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64

 

 


> Build failure on Linux ARM64
> 
>
> Key: PHOENIX-6475
> URL: https://issues.apache.org/jira/browse/PHOENIX-6475
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.1.1
>Reporter: Martin Tzvetanov Grigorov
>Assignee: Martin Tzvetanov Grigorov
>Priority: Major
>
>  The build fails on Linux ARM64 architecture because 

[jira] [Created] (OMID-210) Build failure on Linux ARM64

2021-05-26 Thread Martin Tzvetanov Grigorov (Jira)
Martin Tzvetanov Grigorov created OMID-210:
--

 Summary: Build failure on Linux ARM64
 Key: OMID-210
 URL: https://issues.apache.org/jira/browse/OMID-210
 Project: Phoenix Omid
  Issue Type: Bug
Reporter: Martin Tzvetanov Grigorov


The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
not provide protoc binary for aarch64:

 
{code:java}
[ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) 
on project phoenix-core: Unable to resolve artifact: Missing:
[ERROR] --
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
[ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR] 1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR] --
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)


{code}
 

As discussed at 
[https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
 updating to Protobuf 3.5+ is not an option at the moment.

To preserve backward compatibility Phoenix should continue using Protobuf 2.x. 

 



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


[jira] [Resolved] (PHOENIX-6477) Build failure on Linux ARM64

2021-05-26 Thread Martin Tzvetanov Grigorov (Jira)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-6477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Tzvetanov Grigorov resolved PHOENIX-6477.

Resolution: Duplicate

The purpose of this clone ticket was to move it to OMID Jira project but I 
cannot find how to do it.

I will create a new ticket in OMID project!

> Build failure on Linux ARM64
> 
>
> Key: PHOENIX-6477
> URL: https://issues.apache.org/jira/browse/PHOENIX-6477
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.1.1
>Reporter: Martin Tzvetanov Grigorov
>Assignee: Martin Tzvetanov Grigorov
>Priority: Major
>
> The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
> not provide protoc binary for aarch64:
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile 
> (compile-protoc) on project phoenix-core: Unable to resolve artifact: Missing:
> [ERROR] --
> [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR]   Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR]   Then, install it using the command: 
> [ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file
> [ERROR] 
> [ERROR]   Alternatively, if you host your own repository you can deploy the 
> file there: 
> [ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]   1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR]   2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache release 
> (https://repository.apache.org/content/repositories/releases/, releases=true, 
> snapshots=true),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> {code}
>  
> As discussed at 
> [https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
>  updating to Protobuf 3.5+ is not an option at the moment.
> To preserve backward compatibility Phoenix should continue using Protobuf 2.x.
> The only working solution I was able to find is to use 
> [https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64
>  
>  



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


[jira] [Created] (PHOENIX-6477) Build failure on Linux ARM64

2021-05-26 Thread Martin Tzvetanov Grigorov (Jira)
Martin Tzvetanov Grigorov created PHOENIX-6477:
--

 Summary: Build failure on Linux ARM64
 Key: PHOENIX-6477
 URL: https://issues.apache.org/jira/browse/PHOENIX-6477
 Project: Phoenix
  Issue Type: Bug
  Components: core
Affects Versions: 5.1.1
Reporter: Martin Tzvetanov Grigorov
Assignee: Martin Tzvetanov Grigorov


The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
not provide protoc binary for aarch64:

 
{code:java}
[ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) 
on project phoenix-core: Unable to resolve artifact: Missing:
[ERROR] --
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
[ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR] 1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR] --
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)


{code}
 

As discussed at 
[https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
 updating to Protobuf 3.5+ is not an option at the moment.

To preserve backward compatibility Phoenix should continue using Protobuf 2.x.

The only working solution I was able to find is to use 
[https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64

 

 



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


[jira] [Updated] (PHOENIX-6475) Build failure on Linux ARM64

2021-05-26 Thread Martin Tzvetanov Grigorov (Jira)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Tzvetanov Grigorov updated PHOENIX-6475:
---
Component/s: (was: omid)

> Build failure on Linux ARM64
> 
>
> Key: PHOENIX-6475
> URL: https://issues.apache.org/jira/browse/PHOENIX-6475
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.1.1
>Reporter: Martin Tzvetanov Grigorov
>Assignee: Martin Tzvetanov Grigorov
>Priority: Major
>
> The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
> not provide protoc binary for aarch64:
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile 
> (compile-protoc) on project phoenix-core: Unable to resolve artifact: Missing:
> [ERROR] --
> [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR]   Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR]   Then, install it using the command: 
> [ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file
> [ERROR] 
> [ERROR]   Alternatively, if you host your own repository you can deploy the 
> file there: 
> [ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]   1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR]   2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache release 
> (https://repository.apache.org/content/repositories/releases/, releases=true, 
> snapshots=true),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> {code}
>  
> As discussed at 
> [https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
>  updating to Protobuf 3.5+ is not an option at the moment.
> To preserve backward compatibility Phoenix should continue using Protobuf 2.x.
> The only working solution I was able to find is to use 
> [https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64
>  
>  



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


[jira] [Updated] (PHOENIX-6475) Build failure on Linux ARM64

2021-05-26 Thread Martin Tzvetanov Grigorov (Jira)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Tzvetanov Grigorov updated PHOENIX-6475:
---
Component/s: omid

> Build failure on Linux ARM64
> 
>
> Key: PHOENIX-6475
> URL: https://issues.apache.org/jira/browse/PHOENIX-6475
> Project: Phoenix
>  Issue Type: Bug
>  Components: core, omid
>Affects Versions: 5.1.1
>Reporter: Martin Tzvetanov Grigorov
>Priority: Major
>
> The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
> not provide protoc binary for aarch64:
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile 
> (compile-protoc) on project phoenix-core: Unable to resolve artifact: Missing:
> [ERROR] --
> [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR]   Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR]   Then, install it using the command: 
> [ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file
> [ERROR] 
> [ERROR]   Alternatively, if you host your own repository you can deploy the 
> file there: 
> [ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]   1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR]   2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache release 
> (https://repository.apache.org/content/repositories/releases/, releases=true, 
> snapshots=true),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> {code}
>  
> As discussed at 
> [https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
>  updating to Protobuf 3.5+ is not an option at the moment.
> To preserve backward compatibility Phoenix should continue using Protobuf 2.x.
> The only working solution I was able to find is to use 
> [https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64
>  
>  



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


[jira] [Updated] (PHOENIX-6475) Build failure on Linux ARM64

2021-05-25 Thread Martin Tzvetanov Grigorov (Jira)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Tzvetanov Grigorov updated PHOENIX-6475:
---
Summary: Build failure on Linux ARM64  (was: Build faillure on Linux ARM64)

> Build failure on Linux ARM64
> 
>
> Key: PHOENIX-6475
> URL: https://issues.apache.org/jira/browse/PHOENIX-6475
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 5.1.1
>Reporter: Martin Tzvetanov Grigorov
>Priority: Major
>
> The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
> not provide protoc binary for aarch64:
>  
> {code:java}
> [ERROR] Failed to execute goal 
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile 
> (compile-protoc) on project phoenix-core: Unable to resolve artifact: Missing:
> [ERROR] --
> [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR]   Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR]   Then, install it using the command: 
> [ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file
> [ERROR] 
> [ERROR]   Alternatively, if you host your own repository you can deploy the 
> file there: 
> [ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
> -DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR] 
> [ERROR]   Path to dependency: 
> [ERROR]   1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR]   2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact: 
> [ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   apache release 
> (https://repository.apache.org/content/repositories/releases/, releases=true, 
> snapshots=true),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> {code}
>  
> As discussed at 
> [https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
>  updating to Protobuf 3.5+ is not an option at the moment.
> To preserve backward compatibility Phoenix should continue using Protobuf 2.x.
> The only working solution I was able to find is to use 
> [https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64
>  
>  



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


[jira] [Created] (PHOENIX-6475) Build faillure on Linux ARM64

2021-05-25 Thread Martin Tzvetanov Grigorov (Jira)
Martin Tzvetanov Grigorov created PHOENIX-6475:
--

 Summary: Build faillure on Linux ARM64
 Key: PHOENIX-6475
 URL: https://issues.apache.org/jira/browse/PHOENIX-6475
 Project: Phoenix
  Issue Type: Bug
  Components: core
Affects Versions: 5.1.1
Reporter: Martin Tzvetanov Grigorov


The build fails on Linux ARM64 architecture because Protobuf-Java 2.5.0 does 
not provide protoc binary for aarch64:

 
{code:java}
[ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) 
on project phoenix-core: Unable to resolve artifact: Missing:
[ERROR] --
[ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR]   Try downloading the file manually from the project website.
[ERROR] 
[ERROR]   Then, install it using the command: 
[ERROR]   mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
[ERROR] 
[ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
[ERROR]   mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR] 1) org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
[ERROR] 
[ERROR] --
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.phoenix:phoenix-core:jar:5.2.0-SNAPSHOT
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache release 
(https://repository.apache.org/content/repositories/releases/, releases=true, 
snapshots=true),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)


{code}
 

As discussed at 
[https://lists.apache.org/thread.html/ra5405789376bdb9e16ffa014f1d0a098af34d4946e41ca09efc95a84%40%3Cdev.phoenix.apache.org%3E]
 updating to Protobuf 3.5+ is not an option at the moment.

To preserve backward compatibility Phoenix should continue using Protobuf 2.x.

The only working solution I was able to find is to use 
[https://github.com/os72/protoc-jar:2.6.1-build3] on Linux ARM64

 

 



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