hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Macdonald (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-4) tool to mount dfs on linux
Date Mon, 28 Apr 2008 11:00:56 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592602#action_12592602
] 

craigm edited comment on HADOOP-4 at 4/28/08 4:00 AM:
---------------------------------------------------------------

I have some minor issues. I was working on compiling on Friday afternoon, but Doug beat me
to it with identical comments ;-)


 * I see that the ant script calls the make file, with the correct env vars overridden. In
that case, do we need the bootstrap, automake, configure etc? Why not a simpler build system
like that used by libhdfs etc? The makefile contains references to the system that configure
was run on.
 * I think it would be better if the built fuse_dfs module was placed in $HADOOP_HOME/contrib/fuse-dfs,
in a similar manner to libhdfs, etc
 * If we're keeping configure et al:
 ** README.BUILD refers to bootstrap.sh, while the script is plain_bootstrap.sh
 ** the configure script doesnt identify the JARCH for non-64bit platforms - see config.log
for my platform
{code}
configure:1377: checking target system type
configure:1391: result: i686-pc-linux-gnu
{code}
but JARCH is unset, should be i386. I presume this works ok from the ant script?
 * fuse_dfs_wrapper.sh has some issues - perhaps you could base this more closely on the fuse_dfs.sh
I attached previously to this JIRA?
  ** various variables have to be written in, eg JAVA_HOME, OS_ARCH has already been identified
in configure/ant?, why cant they be set in the script?
  ** fuse_dfs should be called with "$@" instead of $1 $2
  ** the classpath is hard-coded - why can't you identify all the classpath automatically
from the HADOOP_HOME path?
 

Will test new build in due course.

Maurizio - see http://en.wikipedia.org/wiki/Patch_(Unix) and apply the patch to a recent release
of Hadoop. It requires FUSE.

      was (Author: craigm):
    I have some minor issues. I was working on compiling on Friday afternoon, but Doug beat
me to it with identical comments ;-)

 * the configure script doesnt identify the JARCH for non-64bit platforms - see config.log
for my platform
{code}
configure:1377: checking target system type
configure:1391: result: i686-pc-linux-gnu
{code}
but JARCH is unset, should be i386.
 * fuse_dfs_wrapper.sh has some issues - perhaps you could base this more closely on the fuse_dfs.sh
I attached previously to this JIRA?
  ** various variables have to be written in, eg JAVA_HOME, OS_ARCH has already been identified
in configure, why cant they be set in the script?
  ** fuse_dfs should be called with "$@" instead of $1 $2
  ** the classpath is hard-coded - why can't you identify all the classpath automatically
from the HADOOP_HOME path?
 
 * README.BUILD refers to bootstrap.sh, while the script is plain_bootstrap.sh
 * latest patch didnt have make clean run before generation. 

Will test new build in due course.

Maurizio - see http://en.wikipedia.org/wiki/Patch_(Unix) and apply the patch to a recent release
of Hadoop. It requires FUSE.
  
> tool to mount dfs on linux
> --------------------------
>
>                 Key: HADOOP-4
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>         Environment: OSs that support FUSE. Includes Linux, MacOSx, OpenSolaris... http://fuse.sourceforge.net/wiki/index.php/OperatingSystems
>            Reporter: John Xing
>            Assignee: Pete Wyckoff
>         Attachments: fuse-dfs.tar.gz, fuse-dfs.tar.gz, fuse-dfs.tar.gz, fuse-dfs.tar.gz,
fuse-dfs.tar.gz, fuse-hadoop-0.1.0_fuse-j.2.2.3_hadoop.0.5.0.tar.gz, fuse-hadoop-0.1.0_fuse-j.2.4_hadoop.0.5.0.tar.gz,
fuse-hadoop-0.1.1.tar.gz, fuse-j-hadoopfs-03.tar.gz, fuse_dfs.c, fuse_dfs.c, fuse_dfs.c, fuse_dfs.c,
fuse_dfs.c, fuse_dfs.sh, fuse_dfs.tar.gz, Makefile, patch.txt, patch.txt, patch2.txt, patch3.txt
>
>
> tool to mount dfs on Unix or any OS that supports FUSE

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message