hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4) tool to mount dfs on linux
Date Wed, 30 Apr 2008 00:44:55 GMT

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

Pete Wyckoff commented on HADOOP-4:
-----------------------------------

Doug,

Your patch didn't seem to work for me unless I modified the entries using ${basedir} in src/contrib/fuse-dfs/build.xml
to  append ../../../ to it. It seems in my build, basedir is now the fuse-dfs dir whereas
before, I think it was pointing to the top level ??

I'm also uploading patch5.txt which  includes a clean: target that does all the clean up in
the Makefile in src/contrib/fuse-dfs.

But, note I had to include the below difference to src/contrib/fuse-dfs/build.xml (other than
that it's identical to your patch).

thanks, pete



--- fuse-dfs/build.xml  2008-04-29 17:41:55.000000000 -0700
+++ fuse-dfs.new/build.xml  2008-04-29 17:37:47.000000000 -0700
@@ -22,10 +22,9 @@
   <!-- fuse-dfs targets.                                                  -->
   <!-- ================================================================== -->
   <target name="compile" if="fusedfs">
-    <property name="fuse-dfs.dir" value="${basedir}/src/contrib/fuse-dfs/"/>
+    <property name="fuse-dfs.dir" value="${basedir}"/>
     <exec dir="${fuse-dfs.dir}" executable="${fuse-dfs.dir}/bootstrap.sh">
     </exec>
-
     <exec dir="${fuse-dfs.dir}" executable="make">
       <env key="OS_NAME" value="${os.name}"/>
       <env key="OS_ARCH" value="${os.arch}"/>
@@ -29,11 +28,10 @@
     <exec dir="${fuse-dfs.dir}" executable="make">
       <env key="OS_NAME" value="${os.name}"/>
       <env key="OS_ARCH" value="${os.arch}"/>
-      <env key="HADOOP_HOME" value="${basedir}"/>
+      <env key="HADOOP_HOME" value="${basedir}/../../.."/>
       <env key="PROTECTED_PATHS" value="/,/Trash,/user"/>
       <env key="PACKAGE_VERSION" value="0.1.0"/>
       <env key="FUSE_HOME" value="/usr/local"/>
-      <env key="LIBHDFS_BUILD_DIR" value="${basedir}/src/c++/libhdfs"/>
     </exec>
   </target>
 </project>


> 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, HADOOP-4.patch, HADOOP-4.patch, Makefile, patch.txt,
patch.txt, patch2.txt, patch3.txt, patch4.txt, patch4.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