hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewan Higgs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11026) Convert BlockTokenIdentifier to use Protobuf
Date Tue, 18 Oct 2016 13:31:58 GMT
Ewan Higgs created HDFS-11026:

             Summary: Convert BlockTokenIdentifier to use Protobuf
                 Key: HDFS-11026
                 URL: https://issues.apache.org/jira/browse/HDFS-11026
             Project: Hadoop HDFS
          Issue Type: Task
          Components: hdfs, hdfs-client
    Affects Versions: 3.0.0-alpha1, 2.9.0
            Reporter: Ewan Higgs

{{BlockTokenIdentifier}} currently uses a {{DataInput}}/{{DataOutput}} (basically a {{byte[]}})
and manual serialization to get data into and out of the encrypted buffer (in {{BlockKeyProto}}).
Other TokenIdentifiers (e.g. {{ContainerTokenIdentifier}}, {{AMRMTokenIdentifier}}) use Protobuf.
The {{BlockTokenIdenfitier}} should use Protobuf as well so it can be expanded more easily
and will be consistent with the rest of the system.

NB: Release of this will require a version update since 2.8.x won't be able to decipher {{BlockKeyProto.keyBytes}}
from 2.8.y.

This message was sent by Atlassian JIRA

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

View raw message