{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/ambry/issues/692","repository_url":"https://api.github.com/repos/linkedin/ambry","labels_url":"https://api.github.com/repos/linkedin/ambry/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/ambry/issues/692/comments","events_url":"https://api.github.com/repos/linkedin/ambry/issues/692/events","html_url":"https://github.com/linkedin/ambry/issues/692","id":245030301,"number":692,"title":"PartitionManager not working","user":{"login":"ohze","id":29271616,"avatar_url":"https://avatars3.githubusercontent.com/u/29271616?v=4","gravatar_id":"","url":"https://api.github.com/users/ohze","html_url":"https://github.com/ohze","followers_url":"https://api.github.com/users/ohze/followers","following_url":"https://api.github.com/users/ohze/following{/other_user}","gists_url":"https://api.github.com/users/ohze/gists{/gist_id}","starred_url":"https://api.github.com/users/ohze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohze/subscriptions","organizations_url":"https://api.github.com/users/ohze/orgs","repos_url":"https://api.github.com/users/ohze/repos","events_url":"https://api.github.com/users/ohze/events{/privacy}","received_events_url":"https://api.github.com/users/ohze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-24T10:02:26Z","updated_at":"2017-07-24T16:23:04Z","closed_at":null,"body":"I've just updated the [Basic Operations](wiki/Basic%20Operations) page:\r\nThe main class is `com.github.ambry.clustermap.PartitionManager` instead of `com.github.ambry.tools.admin.PartitionManager`.\r\n\r\nBut I found PartitionManager is not working as expected:\r\n```bash\r\ngit clone git@github.com:linkedin/ambry.git\r\ncd ambry\r\n./gradlew allJar\r\njava -cp target/ambry.jar com.github.ambry.clustermap.PartitionManager \\\r\n    --hardwareLayoutPath config/HardwareLayout.json \\\r\n    --partitionLayoutPath config/PartitionLayout.json \\\r\n    --operationType AddPartition \\\r\n    --numberOfPartitionsToAdd 5 \\\r\n    --numberOfReplicasPerDatacenter 3 \\\r\n    --replicaCapacityInBytes 107374182400\r\n```\r\n=> error:\r\n```\r\nError while executing partition command java.lang.IllegalArgumentException: Missing required property 'clustermap.cluster.name'\r\n```"},"comment":{"url":"https://api.github.com/repos/linkedin/ambry/issues/comments/317476233","html_url":"https://github.com/linkedin/ambry/issues/692#issuecomment-317476233","issue_url":"https://api.github.com/repos/linkedin/ambry/issues/692","id":317476233,"user":{"login":"cgtz","id":3821381,"avatar_url":"https://avatars2.githubusercontent.com/u/3821381?v=4","gravatar_id":"","url":"https://api.github.com/users/cgtz","html_url":"https://github.com/cgtz","followers_url":"https://api.github.com/users/cgtz/followers","following_url":"https://api.github.com/users/cgtz/following{/other_user}","gists_url":"https://api.github.com/users/cgtz/gists{/gist_id}","starred_url":"https://api.github.com/users/cgtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgtz/subscriptions","organizations_url":"https://api.github.com/users/cgtz/orgs","repos_url":"https://api.github.com/users/cgtz/repos","events_url":"https://api.github.com/users/cgtz/events{/privacy}","received_events_url":"https://api.github.com/users/cgtz/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T16:23:04Z","updated_at":"2017-07-24T16:23:04Z","body":"@ohze It seems that this CLI tool did not keep up with new required properties. The second result seems to be expected, since the HardwareLayout chosen does not have enough space for a partition of size 107374182400 (only one disc of size 21474836480 is in the HW layout file)."}}
{"actor":{"display_login":"cgtz"}}