The SWC-DB Hadoop-JVM Filesystem - Configuration Properties

The SWC-DB Hadoop-JVM Filesystem Library can be configured with these configuration properties.

  • swc.fs.hadoop_jvm.cfg.dyn

    TYPE_STRINGS The Dynamic cfg-file to use. Config Handler will check & reload this cfg-file by swc.cfg.dyn.period
    default swc.fs.hadoop_jvm.cfg.dyn=swc_fs_hadoop_jvm.dyn.cfg

  • swc.fs.hadoop_jvm.path.root

    TYPE_STRING The Hadoop-JVM FileSystem's base root path.
    default swc.fs.hadoop_jvm.path.root=

  • swc.fs.hadoop_jvm.metrics.enabled

    TYPE_BOOL Enable or Disable Metrics tracking.
    default swc.fs.hadoop_jvm.metrics.enabled=true

  • swc.fs.hadoop_jvm.namenode

    TYPE_STRINGS The Namenode Host + optionally the :Port, many key=value allowed.

    The hadoop .xml confgiurations are used, if not set.

    default swc.fs.hadoop_jvm.namenode=

  • swc.fs.hadoop_jvm.namenode.port

    TYPE_UINT16 The Namenode Port, usefull if many namenodes and port is the same.
    default swc.fs.hadoop_jvm.namenode.port=

  • swc.fs.hadoop_jvm.user

    TYPE_STRING Use Hadoop-JVM under this username.
    default swc.fs.hadoop_jvm.user=

The configuration properties applicable for dynamic reloading

  • swc.fs.hadoop_jvm.fds.max

    TYPE_INT32_G The Max Open File Descriptors for the option of not closing, Condition dependable by the Program using the filesystem.
    default swc.fs.hadoop_jvm.fds.max=256


    TYPE_INT32_G The time in milliseconds to delay use of a connection after re-connect.


    TYPE_INT32_G The size of read buffer in bytes. ‘0' to use default HDFS configured value.

  • swc.fs.hadoop_jvm.write.buffer.size

    TYPE_INT32_G The size of write buffer in bytes. ‘0' to use default HDFS configured value.
    default swc.fs.hadoop_jvm.write.buffer.size=0

  • swc.fs.hadoop_jvm.block.size

    TYPE_INT32_G The size of block in aligned 512 bytes. ‘0' to use default HDFS configured value.
    default swc.fs.hadoop_jvm.block.size=0