[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated YARN-8353: --- Affects Version/s: (was: 3.0.x) > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug > Components: RM >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > {code:java} > public void testHashCode() throws Exception{ > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Affects Version/s: 3.0.x > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug > Components: RM >Affects Versions: 3.0.x >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > {code:java} > public void testHashCode() throws Exception{ > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Component/s: RM > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug > Components: RM >Affects Versions: 3.0.x >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > {code:java} > public void testHashCode() throws Exception{ > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Description: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: {code:java} public void testHashCode() throws Exception{ Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } {code} was: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception{ Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > {code:java} > public void testHashCode() throws Exception{ > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Description: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception{ Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } was: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception { Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > public void testHashCode() throws Exception{ > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Description: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception { Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } was: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception { Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > public void testHashCode() throws Exception { > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Updated] (YARN-8353) LightWeightResource's hashCode function is different from parent class
[ https://issues.apache.org/jira/browse/YARN-8353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LongGang Chen updated YARN-8353: Description: LightWeightResource's hashCode function is different from parent class. One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas. a simple test: public void testHashCode() throws Exception { Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } was: LightWeightResource's hashCode function is different from parent class。 One of the consequences is: ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, ContainerUpdateContext.outstandingIncreases will has smelly datas。 a simple test: public void testHashCode() throws Exception { Resource resource = Resources.createResource(10,10); Resource resource1 = new ResourcePBImpl(); resource1.setMemorySize(10L); resource1.setVirtualCores(10); int x = resource.hashCode(); int y = resource1.hashCode(); Assert.assertEquals(x, y); } > LightWeightResource's hashCode function is different from parent class > -- > > Key: YARN-8353 > URL: https://issues.apache.org/jira/browse/YARN-8353 > Project: Hadoop YARN > Issue Type: Bug >Reporter: LongGang Chen >Priority: Major > > LightWeightResource's hashCode function is different from parent class. > One of the consequences is: > ContainerUpdateContext.removeFromOutstandingUpdate will nor work correct, > ContainerUpdateContext.outstandingIncreases will has smelly datas. > a simple test: > public void testHashCode() throws Exception { > Resource resource = Resources.createResource(10,10); > Resource resource1 = new ResourcePBImpl(); > resource1.setMemorySize(10L); > resource1.setVirtualCores(10); > int x = resource.hashCode(); > int y = resource1.hashCode(); > Assert.assertEquals(x, y); > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org