{"action":"created","issue":{"url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/1292","repository_url":"https://api.github.com/repos/JanusGraph/janusgraph","labels_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/1292/labels{/name}","comments_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/1292/comments","events_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/1292/events","html_url":"https://github.com/JanusGraph/janusgraph/issues/1292","id":368512245,"node_id":"MDU6SXNzdWUzNjg1MTIyNDU=","number":1292,"title":"Last hbase region range wrong ","user":{"login":"jxping","id":33918969,"node_id":"MDQ6VXNlcjMzOTE4OTY5","avatar_url":"https://avatars2.githubusercontent.com/u/33918969?v=4","gravatar_id":"","url":"https://api.github.com/users/jxping","html_url":"https://github.com/jxping","followers_url":"https://api.github.com/users/jxping/followers","following_url":"https://api.github.com/users/jxping/following{/other_user}","gists_url":"https://api.github.com/users/jxping/gists{/gist_id}","starred_url":"https://api.github.com/users/jxping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxping/subscriptions","organizations_url":"https://api.github.com/users/jxping/orgs","repos_url":"https://api.github.com/users/jxping/repos","events_url":"https://api.github.com/users/jxping/events{/privacy}","received_events_url":"https://api.github.com/users/jxping/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-10T06:29:48Z","updated_at":"2018-10-10T07:01:05Z","closed_at":null,"author_association":"NONE","body":"05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Found local key/row partition KeyRange(left: 249-255-255-  6, right: 250-255-255-  5) on host graph-server-06,16020,1538222446337\r\n05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Discarding remote graph-server-02,16020,1538222446481\r\n05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Discarding remote graph-server-01,16020,1538222447432\r\n05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Discarding remote graph-server-07,16020,1538222446668\r\n05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Discarding remote graph-server-03,16020,1538222446893\r\n05:35:13 DEBUG org.janusgraph.diskstorage.hbase.HBaseStoreManager  - Found local key/row partition KeyRange(left: 254-255-255-  1, right:   0-  0-  0-  0) on host graph-server-06,16020,1538222446337\r\n\r\nI have 255 region of hbase \r\nat the last region of hbase the left to int is bigger than right to int ,this make a wrong key range ,then \r\nid assign of this node will get a wrong localkeyparition all of this node's id will be the last region of 255 \r\nif you can understand clearly contact me and i will show you the full stack \r\n\r\n\r\n\r\n05:35:13 INFO  org.janusgraph.graphdb.database.idassigner.VertexIDAssigner  - Setting individual partition bounds: [[255,0)%256]\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [0] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [1] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [2] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [3] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [4] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [5] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [6] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [7] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [8] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [9] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [10] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [11] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [12] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [13] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [14] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [15] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [16] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [17] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [18] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [19] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [20] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [21] to: 255\r\n05:35:13 DEBUG org.janusgraph.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy  - Setting partition at index [22] to: 255"},"comment":{"url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/comments/428460402","html_url":"https://github.com/JanusGraph/janusgraph/issues/1292#issuecomment-428460402","issue_url":"https://api.github.com/repos/JanusGraph/janusgraph/issues/1292","id":428460402,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQ2MDQwMg==","user":{"login":"jxping","id":33918969,"node_id":"MDQ6VXNlcjMzOTE4OTY5","avatar_url":"https://avatars2.githubusercontent.com/u/33918969?v=4","gravatar_id":"","url":"https://api.github.com/users/jxping","html_url":"https://github.com/jxping","followers_url":"https://api.github.com/users/jxping/followers","following_url":"https://api.github.com/users/jxping/following{/other_user}","gists_url":"https://api.github.com/users/jxping/gists{/gist_id}","starred_url":"https://api.github.com/users/jxping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxping/subscriptions","organizations_url":"https://api.github.com/users/jxping/orgs","repos_url":"https://api.github.com/users/jxping/repos","events_url":"https://api.github.com/users/jxping/events{/privacy}","received_events_url":"https://api.github.com/users/jxping/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T07:01:05Z","updated_at":"2018-10-10T07:01:05Z","author_association":"NONE","body":"who will fix this issue?\r\npublic int getRandomID() {\r\n        //Compute the width of the partition...\r\n        int partitionWidth;\r\n        if (lowerID < upperID) partitionWidth = upperID - lowerID; //... for \"proper\" ranges\r\n        else partitionWidth = (idUpperBound - lowerID) + upperID; //... and those that \"wrap around\"\r\n        Preconditions.checkArgument(partitionWidth > 0, partitionWidth);\r\n        return (random.nextInt(partitionWidth) + lowerID) % idUpperBound;\r\n    }"}}
{"actor":{"display_login":"jxping"}}