Modifier and Type | Class and Description |
---|---|
static class |
Configs.ReaderTypeValidator |
Constructor and Description |
---|
Configs() |
@Deprecated public static final String READER_TYPE
HdfsSpout.setReaderType(String)
Required - chose the file type being consumed.
public static final String TEXT
public static final String SEQ
@Deprecated public static final String HDFS_URI
HdfsSpout.setHdfsUri(String)
Required - HDFS name node.
@Deprecated public static final String SOURCE_DIR
HdfsSpout.setSourceDir(String)
Required - dir from which to read files.
@Deprecated public static final String ARCHIVE_DIR
HdfsSpout.setArchiveDir(String)
Required - completed files will be moved here.
@Deprecated public static final String BAD_DIR
HdfsSpout.setBadFilesDir(String)
Required - unparsable files will be moved here.
@Deprecated public static final String LOCK_DIR
HdfsSpout.setLockDir(String)
Directory in which lock files will be created.
@Deprecated public static final String COMMIT_FREQ_COUNT
HdfsSpout.setCommitFrequencyCount(int)
Commit after N records. 0 disables this.
@Deprecated public static final String COMMIT_FREQ_SEC
HdfsSpout.setCommitFrequencySec(int)
Commit after N secs. cannot be disabled.
@Deprecated public static final String MAX_OUTSTANDING
HdfsSpout.setMaxOutstanding(int)
Max outstanding.
@Deprecated public static final String LOCK_TIMEOUT
HdfsSpout.setLockTimeoutSec(int)
Lock timeout.
@Deprecated public static final String CLOCKS_INSYNC
HdfsSpout.setClocksInSync(boolean)
If clocks on machines in the Storm cluster are in sync inactivity duration after which locks are considered candidates for being reassigned to another spout.
@Deprecated public static final String IGNORE_SUFFIX
HdfsSpout.setIgnoreSuffix(String)
Ignore suffix.
public static final String DEFAULT_LOCK_DIR
Filenames with this suffix in archive dir will be ignored by the Spout.
public static final int DEFAULT_COMMIT_FREQ_COUNT
public static final int DEFAULT_COMMIT_FREQ_SEC
public static final int DEFAULT_MAX_OUTSTANDING
public static final int DEFAULT_LOCK_TIMEOUT
public static final String DEFAULT_HDFS_CONFIG_KEY
Copyright © 2019 The Apache Software Foundation. All rights reserved.