public static class DistributedCache.DistributedCacheEntry extends Object implements Serializable
DistributedCache
.
Entries have different semantics for local directories depending on where we are in the
job-submission process. After registration through the API filePath
denotes the
original directory. After the upload to the cluster (which includes zipping the directory),
filePath
denotes the (server-side) copy of the zip.
Modifier and Type | Field and Description |
---|---|
byte[] |
blobKey |
String |
filePath |
Boolean |
isExecutable |
boolean |
isZipped |
Constructor and Description |
---|
DistributedCacheEntry(String filePath,
Boolean isExecutable)
Client-side constructor used by the API for initial registration.
|
DistributedCacheEntry(String filePath,
boolean isExecutable,
boolean isZipped)
Client-side constructor used during job-submission for zipped directory.
|
DistributedCacheEntry(String filePath,
Boolean isExecutable,
byte[] blobKey)
Server-side constructor used during job-submission for files.
|
DistributedCacheEntry(String filePath,
Boolean isExecutable,
byte[] blobKey,
boolean isZipped)
Server-side constructor used during job-submission for zipped directories.
|
public String filePath
public Boolean isExecutable
public boolean isZipped
public byte[] blobKey
public DistributedCacheEntry(String filePath, Boolean isExecutable)
public DistributedCacheEntry(String filePath, boolean isExecutable, boolean isZipped)
public DistributedCacheEntry(String filePath, Boolean isExecutable, byte[] blobKey, boolean isZipped)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.