[ https://issues.apache.org/jira/browse/HDFS-16278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432622#comment-17432622 ]
Íñigo Goiri commented on HDFS-16278: ------------------------------------ Thanks [~gautham] for the patch. Merged PR 3563 to trunk. > Make HDFS snapshot tools cross platform > --------------------------------------- > > Key: HDFS-16278 > URL: https://issues.apache.org/jira/browse/HDFS-16278 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs-client, libhdfs++, tools > Affects Versions: 3.4.0 > Reporter: Gautham Banasandra > Assignee: Gautham Banasandra > Priority: Major > Labels: libhdfscpp, pull-request-available > Fix For: 3.4.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > The source files for *hdfs_createSnapshot*, *hdfs_disallowSnapshot* and > *hdfs_renameSnapshot* uses getopt for parsing the command line arguments. > getopt is available only on Linux and thus, isn't cross platform. We need to > replace getopt with boost::program_options to make these tools cross platform. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org