nexr/RHive — Issue #13: Checking Hadoop slaves shoud be added
Author: euriion
Created: 2011-12-27 03:16:55+00:00
State: open

Hi,
I met an error when I build a package which have dependency on RHive 0.0-3 as like below

installing *source* package ‘clog’ ...
** R
** data
** inst
** preparing package for lazy loading
Warning in file(file, "rt") :
cannot open file '/srv/clog/hadoop-0.20.203.0/conf/slaves': No such file or directory
Error : .onLoad failed in loadNamespace() for 'RHive', details:
call: .jnew("org/apache/hadoop/conf/Configuration")
error: java.lang.ClassNotFoundException
Error : package ‘RHive’ could not be loaded
ERROR: lazy loading failed for package ‘clog’
* removing ‘/Users/aidenhong/Documents/workspace/cog_git/src/main/R/cog.Rcheck/clog’

Above error is occurred when I run 'R CMD check packagefile' and I can't finish building package.
I thinks it's cause by returning error code when RHive is loaded by library.