Skip to content

Made DemoClient python 3.0 compatible .. - #988

Closed
ghost wants to merge 2 commits into
masterfrom
unknown repository
Closed

Made DemoClient python 3.0 compatible ..#988
ghost wants to merge 2 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghostghost commented Jan 4, 2020

Copy link
Copy Markdown

Issue is the DemoClient.py is not updated for python 3.X. Python 2.X support has ended. Updating this to 3.0. Please see
https://issues.apache.org/jira/browse/HBASE-23644

Issue is the DemoClient.py is not updated for python 3.X. Python 2.X support has ended. Updating this to 3.0. Please see https://issues.apache.org/jira/browse/HBASE-23644
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall5m 30smaster passed
-1 ❌pylint0m 1sError running pylint. Please check pylint stderr files.
+1 💚javadoc0m 22smaster passed
_ Patch Compile Tests _
+1 💚mvninstall4m 56sthe patch passed
-1 ❌pylint0m 2sError running pylint. Please check pylint stderr files.
+1 💚pylint0m 2sThere were no new pylint issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 19sthe patch passed
_ Other Tests _
+1 💚unit1m 40shbase-examples in the patch passed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
14m 50s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/Dockerfile
GITHUB PR#988
Optional Testsdupname asflicense javac javadoc unit pylint
unameLinux 746236977ed4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-988/out/precommit/personality/provided.sh
git revisionmaster / ab97665
Default Java1.8.0_181
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/branch-pylint-stderr.txt
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/patch-pylint-stderr.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/testReport/
Max. process+thread count2171 (vs. ulimit of 10000)
modulesC: hbase-examples U: hbase-examples
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Closed issue https://issues.apache.org/jira/browse/HBASE-23644. Updated DemoClient.py to work with python 3.0, thrift compiler 0.13 and python thrift 0.13 package which are the latest. Please note even with thrift-0.9.3 DemoClient.py was not compatible with python 3.X.
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall5m 36smaster passed
-1 ❌pylint0m 0sError running pylint. Please check pylint stderr files.
+1 💚javadoc0m 22smaster passed
_ Patch Compile Tests _
+1 💚mvninstall5m 54sthe patch passed
-1 ❌pylint0m 0sError running pylint. Please check pylint stderr files.
+1 💚pylint0m 0sThere were no new pylint issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 21sthe patch passed
_ Other Tests _
+1 💚unit1m 40shbase-examples in the patch passed.
+1 💚asflicense0m 15sThe patch does not generate ASF License warnings.
15m 40s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/Dockerfile
GITHUB PR#988
Optional Testsdupname asflicense javac javadoc unit pylint
unameLinux b2f68058fb7d 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-988/out/precommit/personality/provided.sh
git revisionmaster / ab97665
Default Java1.8.0_181
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/branch-pylint-stderr.txt
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/patch-pylint-stderr.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/testReport/
Max. process+thread count2179 (vs. ulimit of 10000)
modulesC: hbase-examples U: hbase-examples
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@busbey

Copy link
Copy Markdown
Contributor

Does this still work with python 2? Or is it python 3 only?

I'd be fine with the master branch being python 3 only if we can make branch-2 python 2 and python 3. This could be done with mutliple examples if needed.

@ghost

ghost commented Jan 10, 2020 via email

Copy link
Copy Markdown
Author

@HorizonNet

Copy link
Copy Markdown
Contributor

@pytalkweb We're running pylint from the build. Could you please check your changes with pylint?

@ghost

ghost commented Jan 26, 2020 via email

Copy link
Copy Markdown
Author

@HorizonNet

Copy link
Copy Markdown
Contributor

The pylint problems could be the same as in #1088.

@busbey

Copy link
Copy Markdown
Contributor

Just to reiterate here, I would be fine with this being Python 3 only in the master branch, but to do that we need an option to maintain python 2 for branch-2 / branch-1 and hopefully opt-in to python 3 on branch-2 at least.

@saintstack

Copy link
Copy Markdown
Contributor

Will close out unless update inside next week. Thanks.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 43sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
_ Patch Compile Tests _
-0 ⚠️pylint0m 5sThe patch generated 11 new + 0 unchanged - 1 fixed = 11 total (was 1)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+1 💚asflicense0m 13sThe patch does not generate ASF License warnings.
3m 6s
SubsystemReport/Notes
DockerClient=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#988
Optional Testsdupname asflicense pylint
unameLinux 16bf6196dd7a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / e1d7dc8
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-general-check/output/diff-patch-pylint.txt
Max. process+thread count47 (vs. ulimit of 12500)
modulesC: hbase-examples U: hbase-examples
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) pylint=2.4.4
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 9sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+1 💚mvninstall4m 2smaster passed
+1 💚javadoc0m 21smaster passed
_ Patch Compile Tests _
+1 💚mvninstall3m 46sthe patch passed
+1 💚javadoc0m 20sthe patch passed
_ Other Tests _
+1 💚unit2m 7shbase-examples in the patch passed.
12m 34s
SubsystemReport/Notes
DockerClient=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#988
Optional Testsjavac javadoc unit
unameLinux 0d43326f15f5 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / e1d7dc8
Default Java1.8.0_232
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/testReport/
Max. process+thread count1886 (vs. ulimit of 12500)
modulesC: hbase-examples U: hbase-examples
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 13sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+1 💚mvninstall4m 47smaster passed
-0 ⚠️javadoc0m 20shbase-examples in master failed.
_ Patch Compile Tests _
+1 💚mvninstall5m 4sthe patch passed
-0 ⚠️javadoc0m 21shbase-examples in the patch failed.
_ Other Tests _
+1 💚unit2m 4shbase-examples in the patch passed.
17m 44s
SubsystemReport/Notes
DockerClient=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#988
Optional Testsjavac javadoc unit
unameLinux 37d3adfaeda5 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 0ce85fe
Default Java2020-01-14
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-examples.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-examples.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/testReport/
Max. process+thread count1488 (vs. ulimit of 12500)
modulesC: hbase-examples U: hbase-examples
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
Contributor

Closing abandoned PR

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Apache-HBase@busbey@HorizonNet@saintstack