-
Notifications
You must be signed in to change notification settings - Fork 4.1k
STORM-1226: Port backtype.storm.util to java #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3befae3
65e8b2f
7d62bfe
429ca8d
112ad81
ce52a25
235d6e7
f3e8348
777be78
88bc6af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |
| ;; See the License for the specific language governing permissions and | ||
| ;; limitations under the License. | ||
| (ns org.apache.storm.command.dev-zookeeper | ||
| (:import [org.apache.storm.utils Utils]) | ||
| (:use [org.apache.storm zookeeper util config]) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would it better to remove util from this list where ever possible?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will do.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
| (:import [org.apache.storm.utils ConfigUtils]) | ||
| (:import [org.apache.storm.zookeeper Zookeeper]) | ||
|
|
@@ -23,6 +24,5 @@ | |
| (let [conf (clojurify-structure (ConfigUtils/readStormConfig)) | ||
| port (conf STORM-ZOOKEEPER-PORT) | ||
| localpath (conf DEV-ZOOKEEPER-PATH)] | ||
| (rmr localpath) | ||
| (Zookeeper/mkInprocessZookeeper localpath port) | ||
| )) | ||
| (Utils/forceDelete localpath) | ||
| (Zookeeper/mkInprocessZookeeper localpath port))) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new dependency seems OK, and it is unlikely that we will encounter some topology already using this, but could we please shade it anyways?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.