Displaying 20 results from an estimated 400 matches similar to: "Unable to execute Java MapReduce (Hadoop) code from R using rJava"
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
Hi,
I have a MapReduce Java code, which I am calling from R using rJava. I have
prepared the R package and tested that successfully. But when I deployed
the package in a cluster and executed it, I am getting
ClassNotFoundException. If I run the same job directly without integrating
with R, it runs perfectly.
Here is my R code:
library(rJava)
muMstSpark <- function(mesosMaster = NULL, input =
2011 Jun 26
1
RJDBC and multiple classpaths
Corect me if this is not the right place to post this.
I have a mdbdriver.jar (to access an MSAccess file) under Linux. I bought
the license from http://www.csv-jdbc.com/ guys. The driver work fine when
tested with DBVisualizer or another JDBC thing.
The problem is that driver needs 3 other more jar files to work. Under R I
have tried this and does not work:
> library(RJDBC)
Loading required
2008 Jun 04
1
Error Wile starting AsterFax
Hi All,
I am getting following error when i start AsterFax:
Please help me to solve this issue:
[root at prefroam asterfax]# ./asterfax.sh
log4j: Threshold ="null".
log4j: Retreiving an instance of org.apache.log4j.Logger.
log4j: Setting [au.com.noojee.asterfax] additivity to [false].
log4j: Level value for au.com.noojee.asterfax is [DEBUG].
log4j:
2016 Feb 16
5
error en tarea mapreduce en Rstudio en ubuntu
Buenos días,
Tengo instalado un cluster en una máquina virtual y he instalado R y
Rstudio (sobre Ubuntu server 14.04 64 bits ) . Desde consola puedo entrar
en R y ejecutar un ejemplo con mapreduce sin problemas. Pero cuando lo
intento hacer desde Rstudio obtengo este error:
16/02/16 10:37:00 ERROR streaming.StreamJob: Job not successful!
Streaming Command Failed!
Error in mr(map = map, reduce =
2012 Jul 24
1
Finding dynamic shared libraries loaded with a package
Is there a way to query a package to see what dynamic shared libraries are
loaded with it?
The reason I ask is because during development, I want to unload libraries
so that they can be reloaded without restarting R. I want to make it
automatic so that you can just pass in the name of the package, and it will
unload all the relevant shared libraries.
Typically, the name of the shared library is
2013 Dec 13
1
Weblogic logging to syslog?
Hi All.
I have a setup in which:
- applications deployed in weblogic log directly to weblogic;
- components of weblogic (domain, admin server, managed servers) log to
proper files (default logging).
I would like to connect logging to syslog server. Is it possible? As I have
read it is possible to log from applications with log4j if they send logs
to weblogic server (on weblogic level
2011 May 19
1
r-2.13 fails make check
I am only reporting this because it is the current release branch and
not devel.
R-2.13 from svn revision 55957 builds fine, but fails make check.
This happened with a fresh svn checkout 12 hours ago and it still
happens as of now. Two days ago I could build R-2.13 and it passed
make check on the same system, so I doubt it is a system problem. But
just in case my system details are a fresh
2012 Feb 27
0
Help with rJava
I am trying to invoke an in house developed java program from R and am
running into some confusing issues.
I've written this function:
DoNormalSkew <- function() {
.jaddClassPath("U:/development/software/untilities/ELVeSkew/dist/ELVeSkew.jar")
.jpackage("U:/development/software/utilities/ELVeS/dist/ELVeSkew.jar")
.jcall("java/lang/System", "V",
2007 May 10
0
delete old logs
I've several web servers that use log4j to generate the logs.
The log file currently appended to is called filename. The older,
non-current logs are called filename.yyyy-mm-dd-hh.
Obviously, rotation takes place once every hour and it's done
automatically by log4j. Old logs are never deleted by log4j, something
else must delete them.
I need to rsync all the filename* files from all
2011 Feb 17
0
[BioC] Make.cdf.package error
Hi everybody,
I tried to analyze a custom Affymetrix 3'-biased Array. So I wanted to make
a cdf package. (My CDF file size is 1.12Go).
I tried several methods but the same error occured
Method 1
> #Set the working directory
> setwd("D:/Analyse R/Cel files")
> #library to create cdf env
> library("makecdfenv")
>#Create cdf environment
>pkgpath
2011 Apr 30
3
Copying to R a rectangular array from a Java class
Bare test code: My simple Java test class source and R test code follow:
public class RJavTest {
public static void main(String[]args) { RJavTest rJavTest=new RJavTest();
}
public final static String conStg="testString";
public final static double con0dbl=10000001;
public final static double[]con1Arr=new double[] {
10001,10002,10003,10004,10005,10006 };
public final static
2008 Oct 14
1
problem with update.packages (PR#13161)
On 14 October 2008 at 09:39, Simon Blomberg wrote:
| Hi, is anyone else getting this error? Could this be a bug?:
|
| > update.packages(ask=FALSE)
| Error in read.dcf(pkgpath, fields = fields) :
| Line starting 'unix; ...' is malformed!
|
| > sessionInfo()
| R version 2.8.0 RC (2008-10-12 r46696)
| x86_64-pc-linux-gnu
Confirmed in plain R using the same package built this
2008 Oct 14
1
problem with update.packages (PR#13161)
On 14 October 2008 at 09:39, Simon Blomberg wrote:
| Hi, is anyone else getting this error? Could this be a bug?:
|
| > update.packages(ask=FALSE)
| Error in read.dcf(pkgpath, fields = fields) :
| Line starting 'unix; ...' is malformed!
|
| > sessionInfo()
| R version 2.8.0 RC (2008-10-12 r46696)
| x86_64-pc-linux-gnu
Confirmed in plain R using the same package built this
2015 Sep 16
2
R-devel_2015-09-14 throws an error in reg-packages test
Hello.
I have successfully built R on windows scores of times, and have never
come across this problem. For this build, I am using the current 4.6.3
prerelease version of Rtools, Windows7 64 bit, and
R-devel_2015-09-14.tar.gz
When running make check, I get the following error:
running code in 'reg-packages.R' ...make[3]: *** [reg-packages.Rout] Error 1
make[2]: *** [test-Reg] Error 2
2012 Oct 13
0
installation of R (2.14.1 and 2.15.1) fails due to [reg-packages.Rout] Error
Hello,
I'm trying to install R from sources on two Linux machines (both with Suse 12.2):
1.
> uname -a
Linux cs-wsok 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC
2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux
2.
> uname -a
Linux csltok.swansea.ac.uk 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26
09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux
I am trying version
2007 Sep 18
1
Re-attaching a package environment drops the attributes
Hi.
contrary to other environments, the attributes of a *package*
environment are dropped (from the new environment) when attach():ing
it to the search() path. This might or might not be surprising, but
have some side effects if rearranging/attaching package environments.
# Example - Regular environments
env <- new.env()
attr(env, "foo") <- "bar"
print(env)
##
2002 Nov 18
2
library() help for Windows
Dear R users,
I have just upgraded R v1.5.0 to v1.6.1 for Windows but have trouble loading my library of R only functions (no C calls). After examining the "library" script this difference was found:
(v1.5.0)
which.lib.loc <- dirname(pkgpath)
descfile <- system.file("DESCRIPTION", package = package,
lib.loc = which.lib.loc)
if
2008 Oct 14
0
[R-sig-Debian] problem with update.packages (PR#13162)
Dirk Eddelbuettel wrote:
> On 14 October 2008 at 09:39, Simon Blomberg wrote:
> | Hi, is anyone else getting this error? Could this be a bug?:
> |
> | > update.packages(ask=FALSE)
> | Error in read.dcf(pkgpath, fields = fields) :
> | Line starting 'unix; ...' is malformed!
> |
> | > sessionInfo()
> | R version 2.8.0 RC (2008-10-12 r46696)
> |
2010 Mar 17
1
Suggestion: Not having to export .conflicts.OK in name spaces
Currently library() and attach() fail to locate an existing
'.conflicts.OK' in a package wit name space, unless it is exported.
Since there should be little interest in exporting '.conflicts.OK'
otherwise, one may argue that those methods should look for
'.conflicts.OK' even if it is not exported. If so, a patch for
library() is:
>svn diff library.R
Index: library.R
2012 Nov 07
2
R + Hadoop on Amazon
Hello All,
Having some issue with local machine, I need to locate myself on Amazon
for running R and Hadoop with Amazon instance. After searching a lot, I
can't able to take a decision for choosing Image for Amazon instance. Can any
one using R + Hadoop on Amazon.
Thanks
[[alternative HTML version deleted]]