[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-06-07 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-27915:
--

I took a quick scroll through the Dockerfile. I don't think there's anything 
about it that should require an architecture-specific consideration. I believe 
that the problem is in the user documentation, in that the user needs to 
explicitly include a platform parameter when they build the image. This will 
depend based on what tool is being used (I think there are some differences, 
for example, between docker buildkit and podman in how they handle platform 
selection defaults).

> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.9
>
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-06-04 Thread Wellington Chevreuil (Jira)


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

Wellington Chevreuil commented on HBASE-27915:
--

Hey [~ndimiduk] , thanks for pointing out and apologies for the delayed 
response. That definitely would be preferred. There's already an ongoing PR for 
changing this, I had forwarded your suggestion 
[there|https://github.com/apache/hbase/pull/5957#issuecomment-2147728605].

> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.9
>
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-23 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch master
[build #1079 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1079/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1079/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1079/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1079/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-23 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch branch-3
[build #211 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/211/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/211/General_20Nightly_20Build_20Report/]




(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/211/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/211/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-23 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch branch-2.5
[build #534 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/534/]:
 (x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/534/General_20Nightly_20Build_20Report/]


(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/534/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/534/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/534/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-23 Thread Nick Dimiduk (Jira)


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

Nick Dimiduk commented on HBASE-27915:
--

Heya [~wchevreuil], I missed this ticket but I saw your commit land. If you're 
interested, I have an example of how to define a single dockerfile that can be 
used to build images for multiple platforms. And if the underlying build engine 
supports it, I believe it can be used to create a multi-platform image.

https://github.com/apache/hbase-kustomize/tree/main/dockerfiles/kuttl

> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-23 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch branch-2
[build #1061 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1061/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1061/General_20Nightly_20Build_20Report/]


(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1061/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1061/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1061/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-22 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch branch-2.4
[build #742 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/742/]:
 (x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/742/General_20Nightly_20Build_20Report/]


(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/742/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/742/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.4/742/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27915) Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom

2024-05-22 Thread Hudson (Jira)


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

Hudson commented on HBASE-27915:


Results for branch branch-2.6
[build #123 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/123/]:
 (x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/123/General_20Nightly_20Build_20Report/]


(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/123/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/123/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.6/123/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Update hbase_docker with an extra Dockerfile compatible with mac m1 platfrom
> 
>
> Key: HBASE-27915
> URL: https://issues.apache.org/jira/browse/HBASE-27915
> Project: HBase
>  Issue Type: Bug
>Reporter: Wellington Chevreuil
>Assignee: Wellington Chevreuil
>Priority: Minor
>  Labels: pull-request-available
>
> When trying to use the current Dockerfile under "./dev-support/hbase_docker" 
> on m1 macs, the docker build fails at the git clone & mvn build stage with 
> below error:
> {noformat}
>  #0 8.214 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such 
> file or directory
> {noformat}
> It turns out for mac m1, we have to explicitly define the platform flag for 
> the ubuntu image. I thought we could add a note in this readme, together with 
> an "m1" subfolder containing a modified copy of this Dockerfile that works on 
> mac m1s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)