hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkan...@apache.org
Subject hadoop git commit: YARN-7320. Duplicate LiteralByteStrings in SystemCredentialsForAppsProto.credentialsForApp_ Addendum (misha@cloudera.com via rkanter)
Date Thu, 26 Oct 2017 22:59:30 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 9665971a6 -> cd9078df6


YARN-7320. Duplicate LiteralByteStrings in SystemCredentialsForAppsProto.credentialsForApp_
Addendum (misha@cloudera.com via rkanter)

(cherry picked from commit 088ffee7165d0e2e4fb9af7fb8f33626b0ed8ed3)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cd9078df
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cd9078df
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cd9078df

Branch: refs/heads/branch-3.0
Commit: cd9078df683cf5029f2b3d974ff6880de3ae6705
Parents: 9665971
Author: Robert Kanter <rkanter@apache.org>
Authored: Thu Oct 26 15:50:14 2017 -0700
Committer: Robert Kanter <rkanter@apache.org>
Committed: Thu Oct 26 15:55:23 2017 -0700

----------------------------------------------------------------------
 .../api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/cd9078df/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java
index ccc4191..9af5bfc 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/NodeHeartbeatResponsePBImpl.java
@@ -156,7 +156,7 @@ public class NodeHeartbeatResponsePBImpl extends NodeHeartbeatResponse
{
       builder.addSystemCredentialsForApps(SystemCredentialsForAppsProto.newBuilder()
         .setAppId(convertToProtoFormat(entry.getKey()))
         .setCredentialsForApp(BYTE_STRING_INTERNER.intern(
-            ProtoUtils.convertToProtoFormat(entry.getValue()))));
+            ProtoUtils.convertToProtoFormat(entry.getValue().duplicate()))));
     }
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message