[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anu Engineer updated HDFS-10560: Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) [~linyiqun] Thanks for the contribution. [~ajisakaa], [~jojochuang] Thanks for the reviews and comments. I have committed this to trunk. > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch, > HDFS-10560.004.patch, HDFS-10560.005.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560.005.patch > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch, > HDFS-10560.004.patch, HDFS-10560.005.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: (was: HDFS-10560.005.patch) > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch, > HDFS-10560.004.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560.005.patch > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch, > HDFS-10560.004.patch, HDFS-10560.005.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anu Engineer updated HDFS-10560: Attachment: HDFS-10560.004.patch Attaching the Rebased JIRA for trunk. Changes are in * DiskBalancerWorkStatus.java * Changes in PlanCommand.Java got moved to Command.java > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch, > HDFS-10560.004.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anu Engineer updated HDFS-10560: Parent Issue: HDFS-10576 (was: HDFS-1312) > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560-HDFS-1312.003.patch > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch, HDFS-10560-HDFS-1312.003.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560-HDFS-1312.002.patch The failed test was related. It seemed these code lead the method {{NodePlan#parseJson}} threw Exception. {code} public class NodePlan { @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class") {code} I'd like to restore the code in {{NodePlan}}, post a new patch. > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch, > HDFS-10560-HDFS-1312.002.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: (was: HDFS-10560.001.patch) > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560-HDFS-1312.001.patch > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560-HDFS-1312.001.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Attachment: HDFS-10560.001.patch > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > Attachments: HDFS-10560.001.patch > > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Status: Patch Available (was: Open) This new feature of {{DiskBalancer}} seems pretty good. This is my first patch for this feature. I am looking forward to seeing the reply. > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10560: - Summary: DiskBalancer: Reuse ObjectMapper instance to improve the performance (was: Reuse ObjectMapper instance to improve the performance) > DiskBalancer: Reuse ObjectMapper instance to improve the performance > > > Key: HDFS-10560 > URL: https://issues.apache.org/jira/browse/HDFS-10560 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover >Affects Versions: HDFS-1312 >Reporter: Yiqun Lin >Assignee: Yiqun Lin > > In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to > do the json-object transform. But {{ObjectMapper}} instance is relatively > heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is > thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ. > Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org