hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-13957) Fix incorrect option used in description of InMemoryAliasMap
Date Fri, 05 Oct 2018 00:28:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-13957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yiqun Lin updated HDFS-13957:
-----------------------------
    Attachment: HDFS-13957.001.patch

> Fix incorrect option used in description of InMemoryAliasMap 
> -------------------------------------------------------------
>
>                 Key: HDFS-13957
>                 URL: https://issues.apache.org/jira/browse/HDFS-13957
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.1.1
>            Reporter: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-13957.001.patch
>
>
> The incorrect option was used in description of InMemoryAliasMap.
> {noformat}
> This is a LevelDB-based alias map that runs as a separate server in Namenode. The alias
map itself can be created using the fs2img tool using the option -Ddfs.provided.aliasmap.leveldb.path=file:///path/to/leveldb/map/dingos.db
-o org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.LevelDBFileRegionAliasMap as in
the example above.
> {noformat}
> Here -o should be -b, -o is specified for output directory of generated fsimage. -b is
for block output class. The right usage showed in the doc:
> {noformat}
> hadoop org.apache.hadoop.hdfs.server.namenode.FileSystemImage \
>   -Ddfs.provided.aliasmap.leveldb.path=/path/to/leveldb/map/dingos.db \
>   -b org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.LevelDBFileRegionAliasMap
\
>   -o file:///tmp/name \
>   -u CustomResolver \
>   hdfs://enfield/projects/ywqmd/incandenza
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message