Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4k
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
3befae365e8b2f7d62bfe429ca8d112ad81ce52a25235d6e7f3e8348777be7888bc6afFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
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? ContributorAuthor 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. ContributorAuthor 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))) | ||
Uh oh!
There was an error while loading. Please reload this page.
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.