[MacPorts] #35902: hadoop is missing native libs

MacPorts noreply at macports.org
Mon Sep 10 12:08:09 PDT 2012


#35902: hadoop is missing native libs
-----------------------------+----------------------------------------------
 Reporter:  jeff@…           |       Owner:  hum@…           
     Type:  defect           |      Status:  assigned        
 Priority:  Normal           |   Milestone:                  
Component:  ports            |     Version:  2.1.2           
 Keywords:                   |        Port:  hadoop          
-----------------------------+----------------------------------------------

Comment(by jeff@…):

 Replying to [comment:5 hum@…]:

 > Very nice information! I updated the port to build libhdfs and added
 fusedfs variant to build contrib/fuse-dfs. Committed in r97554. It is
 helpful to me if you could check the port with Fuse-DFS as following:
 > {{{
 > $ sudo port selfupdate
 > $ sudo port install hadoop +fusedfs
 > ...
 > }}}
 > fuse_dfs and fuse_dfs_wrapper.sh are located in ${prefix}/bin and
 ${prefix}/share/java/hadoop-${version}/bin respectively.
 {{{
 umount /Volumes/hc3; mkdir /Volumes/hc3;fuse_dfs_wrapper.sh
 dfs://cmc6-101.alpha.farecompare.com:8200 /Volumes/hc3/ -d
 umount: /Volumes/hc3: not currently mounted
 port=8200,server=cmc6-101.alpha.farecompare.com
 fuse-dfs didn't recognize /Volumes/hc3/,-2
 fuse-dfs ignoring option -d
 FUSE library version: 2.8.7
 nullpath_ok: 0
 unique: 0, opcode: INIT (26), nodeid: 0, insize: 56
 INIT: 7.12
 flags=0x00000000
 max_readahead=0x20000000
    INIT: 7.12
    flags=0x00000010
    max_readahead=0x20000000
    max_write=0x02000000
    unique: 0, success, outsize: 40
 unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 3, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 4, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 5, opcode: STATFS (17), nodeid: 1, insize: 40
 statfs /
 unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56
 getattr /
 dyld: lazy symbol binding failed: Symbol not found: _JNI_GetCreatedJavaVMs
   Referenced from: /opt/local/lib/libhdfs.dylib
   Expected in: flat namespace

 dyld: Symbol not found: _JNI_GetCreatedJavaVMs
   Referenced from: /opt/local/lib/libhdfs.dylib
   Expected in: flat namespace

 /Users/jeffkreska/hadoop-dist/bin/fuse_dfs_wrapper.sh: line 29: 81221
 Trace/BPT trap: 5       /opt/local/bin/fuse_dfs $@

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35902#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list