[ https://issues.apache.org/jira/browse/HBASE-29454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009106#comment-18009106 ]
Hudson commented on HBASE-29454: -------------------------------- Results for branch master [build #1323 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/General_20Nightly_20Build_20Report/] (x) {color:red}-1 jdk17 hadoop3 checks{color} -- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color} -- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk17 hadoop 3.3.6 backward compatibility checks{color} -- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 jdk17 hadoop 3.4.0 backward compatibility checks{color} -- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1323/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test for 3.3.5 {color} (/) {color:green}+1 client integration test for 3.3.6 {color} (/) {color:green}+1 client integration test for 3.4.0 {color} (/) {color:green}+1 client integration test for 3.4.1 {color} > Update hbase-examples scripts to be compatible with Python 3 > ------------------------------------------------------------ > > Key: HBASE-29454 > URL: https://issues.apache.org/jira/browse/HBASE-29454 > Project: HBase > Issue Type: Task > Reporter: Kevin Geiszler > Assignee: Kevin Geiszler > Priority: Minor > Labels: pull-request-available > > There are some Python scripts in the hbase-examples directory that were never > updated to be compatible with Python 3. Running {{python3 -m compileall}} on > these scripts reveals the following: > {code:java} > *** Error compiling 'hbase-examples/src/main/python/thrift1/DemoClient.py'... > File "hbase-examples/src/main/python/thrift1/DemoClient.py", line 37 > print "row: " + row + ", values: ", > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? > Python 3 compilation failed for > hbase-examples/src/main/python/thrift1/demo_hbase_thrift_over_http_tls.py: > *** Error compiling > 'hbase-examples/src/main/python/thrift1/demo_hbase_thrift_over_http_tls.py'... > File > "hbase-examples/src/main/python/thrift1/demo_hbase_thrift_over_http_tls.py", > line 40 > print "[INFO] setup connection" > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? > Python 3 compilation failed for > hbase-examples/src/main/python/thrift2/DemoClient.py: > *** Error compiling 'hbase-examples/src/main/python/thrift2/DemoClient.py'... > File "hbase-examples/src/main/python/thrift2/DemoClient.py", line 47 > print "Thrift2 Demo" > ^^^^^^^^^^^^^^^^^^^^ > SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? > {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)