Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2A37E200B27 for ; Wed, 22 Jun 2016 10:45:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28C3E160A64; Wed, 22 Jun 2016 08:45:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9356D160A2E for ; Wed, 22 Jun 2016 10:44:59 +0200 (CEST) Received: (qmail 66456 invoked by uid 500); 22 Jun 2016 08:44:58 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 66248 invoked by uid 99); 22 Jun 2016 08:44:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 08:44:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1B8A72C1F6B for ; Wed, 22 Jun 2016 08:44:58 +0000 (UTC) Date: Wed, 22 Jun 2016 08:44:58 +0000 (UTC) From: "Yiqun Lin (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-10560) Reuse ObjectMapper instance to improve the performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Jun 2016 08:45:00 -0000 Yiqun Lin created HDFS-10560: -------------------------------- Summary: 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-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org