GitHub user hustfxj opened a pull request: https://github.com/apache/storm/pull/1045
port org.apache.storm.zookeeper to java 1. Port "org.apache.storm.zookeeper" to java at "org.apache.storm.zookeeper.Zookeeper". 2. Update all the callings to the config functions. 3. Deleted most functions in zookeeper.clj except a few: mk-client (because of "watcher" which is derived by clojure in some .clj files). 4. add the package "Callback", where callback functions put. I am merging clusters and timer which involves lots of callback functions. I put them into package "Callback". You can merge this pull request into a Git repository by running: $ git pull https://github.com/hustfxj/storm xiaojian.fxj Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/1045.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1045 ---- commit 6ce984128fd92e42ae7018d6b27be753e7dfa30d Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-13T19:55:47Z [STORM-1227] Init commit for config.clj function translation to java commit 0b90a63d5ac7075524e9fabc7a49bda47b41b946 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-13T22:45:39Z To continue update callers to read-storm-config commit cb4cdf6910b9bc8bc9077d5ad0750707d14e5cb2 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-14T19:44:12Z mock read-storm-config in drpc_test commit f350f1ae9aaa44ea8f931c5e48eef5051d79770d Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-14T20:34:43Z Update all the callings to read-storm-config and add the import for ConfigUtils commit 3d2796d2fbd7ae182d7414db985cf7de167fcd82 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-14T21:25:47Z Update callings to supervisor-isupervisor-dir commit 635488db5e0670f1e4348fab5e3fd7d3970c5e63 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-15T18:50:00Z Updated to callings for supervisor-stormjar-path commit 99189a6016d24aff485b9206323ad68988d32be1 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-15T19:10:20Z Updated to supervisor-storm-resources-path commit 310128d9469f2151851d4e44710593b6ebcbac59 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-15T19:33:52Z updated to nimbus-topo-history-state commit ba70bf1cfe72aeabec104d8ea664f087b719a08c Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-15T20:28:04Z Updated to read-supervisor-storm-conf commit 0dbdcf39bf411a4ee5abac5e740c07e8813ea025 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-17T22:37:35Z Updates workerRoot, worker user, path, state, set. To do a few left. commit 7c3fec6502ab23855a0b31dbb93debe7e22e73ff Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-19T17:23:26Z Updated callings before get-topo-logs-users commit 13ab1515c503ad3eefe10871b5972d4bce60fde6 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-19T17:38:05Z Updated all callings commit fd37de911ad73cf1a6f0d5500d0c1532a7ece209 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-19T22:54:10Z Updated for all the rest that we can do commit b4847b76f0222344a51987fce1c8180616a4c279 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-19T23:33:51Z Manual test commit b7374d2bb4cf49111936ec1cbd2a4f4f22661100 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-20T15:54:30Z Cleanup the comments commit b9e640afd181e48a3ae2fe726318ce94d8836e59 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-20T22:37:22Z Address comments. To continue. commit 24807720244147b626d2b2fa7e5eb2d5bf9c8e21 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-20T22:52:09Z Minor commit c495266022e47800b74ac8cb0ea73b1d0434669e Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-20T23:18:11Z address read-default-config commit df51368d6d24af12fbde351e77be330736514f24 Author: zhuol <zh...@yahoo-inc.com> Date: 2016-01-20T23:38:37Z use URLEncoder.encode UTF-8 commit 95ee614aaacb2dfa3bad983f8d14d0522d7e63f1 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-21T02:51:03Z Merge branch '1227' of https://github.com/zhuoliu/storm commit b821c9352489be0acfdd24a5287b493ee402772b Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-25T06:00:00Z merge timer and Zookeeper commit 5edfa3fa85a1d5ebc1df5cb2ed9c558827acdcb7 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-25T09:26:22Z merge zookeeper.clj commit 9f93daeb09bf9f13e1110901cbeed04c92663e9a Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-25T09:26:59Z Merge branch 'master' of github.com:apache/storm commit a20fbb60d7e942aca5a8e01c5b7661936a61ce70 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-25T09:27:49Z Merge branch 'master' into xiaojian.fxj commit b0b518c7540349d53af102192708c51d75a50053 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-26T03:02:05Z STORM_ZOOKEEPER_PORT means Integer commit b817f812ee7182d3bf1bac2358c7ff5b0c9406cd Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-26T03:19:30Z org.apache.storm.zookeeper to java commit 3fb5af70cd4f4b454e19adb828adf651be8693a7 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-26T03:24:37Z Merge branch 'master' of github.com:apache/storm commit 82a4b1fc52938095b4ce6aae887f3c5a837ebac2 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-26T03:25:01Z Merge branch 'master' into githupxiaojian.fxj commit e3af0ffa82f8ca32b483fb1f10cce00ded8f98e5 Author: xiaojian.fxj <xiaojian....@alibaba-inc.com> Date: 2016-01-26T07:52:24Z port getDataWithVersion ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---