Getting error while compiling

48 views
Skip to first unread message

shobha rana

unread,
Aug 20, 2018, 1:08:20 PM8/20/18
to dr-elephant-users
Hi All.

Getting below error

Java version:  "1.8.0_111"

sh-4.2$ ./compile.sh ./compile.conf 
Checking for required programs...
[SUCCESS] Program requirement is fulfilled!
Using config file: ./compile.conf
Reading from config file...
Hadoop Version : 2.7.3
Spark Version  : 1.6.2
Other opts set : -Dsbt.repository.config=./resolver.conf
############################################################################
npm installation not found. Please install npm in order to compile with new user interface
############################################################################
activator is /home/xxxx/DrElephant/activator-dist-1.3.12/bin/activator
[info] Loading project definition from /home/xxxx/DrElephant/dr-elephant-master/project
[info] Set current project to dr-elephant (in build file:/home/xxxx/DrElephant/dr-elephant-master/)
[success] Total time: 0 s, completed Aug 20, 2018 12:00:42 PM
[info] Updating {file:/home/xxxx/DrElephant/dr-elephant-master/}dr-elephant-master...
[info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
[info] Done updating.
[info] Compiling 96 Scala sources and 153 Java sources to /home/xxxx/DrElephant/dr-elephant-master/target/scala-2.10/classes...
[warn] /home/xxxx/DrElephant/dr-elephant-master/app/org/apache/spark/deploy/history/SparkDataCollection.scala:313: abstract type pattern T is unchecked since it is eliminated by erasure
[warn]     seq.foreach { case (item: T) => list.add(item)}
[warn]                               ^
[warn] one warning found
[warn] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[warn] /home/xxxx/DrElephant/dr-elephant-master/app/Global.java:18: warning: AbstractSaslImpl is internal proprietary API and may be removed in a future release
[warn] import com.sun.security.sasl.util.AbstractSaslImpl;
[warn]                                  ^
[warn] /home/xxxx/DrElephant/dr-elephant-master/app/Global.java:67: warning: AbstractSaslImpl is internal proprietary API and may be removed in a future release
[warn]       Field loggerField = AbstractSaslImpl.class.getDeclaredField("logger");
[warn]                           ^
[warn] Note: Some input files use or override a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] Note: Some input files use unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
[warn] 3 warnings

 any suggestion, please

Clemens Valiente

unread,
Aug 27, 2018, 4:57:57 AM8/27/18
to shobha rana, dr-elephant-users
Hi Shoba, what is the error message? Your log just includes warnings that you can safely ignore.

Cheers
Clemens

--
You received this message because you are subscribed to the Google Groups "dr-elephant-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dr-elephant-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dr-elephant-users/fed0466c-4082-41ca-95b2-15826cf09df9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

shobha rana

unread,
Aug 28, 2018, 12:25:08 AM8/28/18
to dr-elephant-users
Thanks Clemens for replying.

Below is the complete error trail. any suggestion? 

sh-4.2$ ./compile.sh ./compile.conf 
Checking for required programs...
[SUCCESS] Program requirement is fulfilled!
Using config file: ./compile.conf
Reading from config file...
Hadoop Version : 2.7.3
Spark Version  : 1.6.2
Other opts set : -Dsbt.repository.config=./resolver.conf
############################################################################
npm installation not found. Please install npm in order to compile with new user interface
############################################################################
activator is /home/DrElephant/activator-dist-1.3.12/bin/activator
[info] Loading project definition from /home/DrElephant/dr-elephant-master/project
[info] Set current project to dr-elephant (in build file:/home/DrElephant/dr-elephant-master/)
[success] Total time: 0 s, completed Aug 20, 2018 12:00:42 PM
[info] Updating {file:/home/DrElephant/dr-elephant-master/}dr-elephant-master...
[info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
[info] Done updating.
[info] Compiling 96 Scala sources and 153 Java sources to /home/DrElephant/dr-elephant-master/target/scala-2.10/classes...
[warn] /home/DrElephant/dr-elephant-master/app/org/apache/spark/deploy/history/SparkDataCollection.scala:313: abstract type pattern T is unchecked since it is eliminated by erasure
[warn]     seq.foreach { case (item: T) => list.add(item)}
[warn]                               ^
[warn] one warning found
[warn] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[warn] /home/DrElephant/dr-elephant-master/app/Global.java:18: warning: AbstractSaslImpl is internal proprietary API and may be removed in a future release
[warn] import com.sun.security.sasl.util.AbstractSaslImpl;
[warn]                                  ^
[warn] /home/DrElephant/dr-elephant-master/app/Global.java:67: warning: AbstractSaslImpl is internal proprietary API and may be removed in a future release
[warn]       Field loggerField = AbstractSaslImpl.class.getDeclaredField("logger");
[warn]                           ^
[warn] Note: Some input files use or override a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] Note: Some input files use unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
[warn] 3 warnings
java.lang.NoClassDefFoundError: javassist/NotFoundException
        at play.PlayCommands$$anonfun$PostCompile$1$$anonfun$16.apply(PlayCommands.scala:117)
        at play.PlayCommands$$anonfun$PostCompile$1$$anonfun$16.apply(PlayCommands.scala:117)
        at scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:264)
        at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
        at scala.collection.TraversableLike$class.filter(TraversableLike.scala:263)
        at scala.collection.AbstractTraversable.filter(Traversable.scala:105)
        at play.PlayCommands$$anonfun$PostCompile$1.apply(PlayCommands.scala:117)
        at play.PlayCommands$$anonfun$PostCompile$1.apply(PlayCommands.scala:95)
        at scala.Function8$$anonfun$tupled$1.apply(Function8.scala:35)
        at scala.Function8$$anonfun$tupled$1.apply(Function8.scala:34)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
        at sbt.std.Transform$$anon$4.work(System.scala:64)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.Execute.work(Execute.scala:244)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: javassist.NotFoundException
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at play.PlayCommands$$anonfun$PostCompile$1$$anonfun$16.apply(PlayCommands.scala:117)
        at play.PlayCommands$$anonfun$PostCompile$1$$anonfun$16.apply(PlayCommands.scala:117)
        at scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:264)
        at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
        at scala.collection.TraversableLike$class.filter(TraversableLike.scala:263)
        at scala.collection.AbstractTraversable.filter(Traversable.scala:105)
        at play.PlayCommands$$anonfun$PostCompile$1.apply(PlayCommands.scala:117)
        at play.PlayCommands$$anonfun$PostCompile$1.apply(PlayCommands.scala:95)
        at scala.Function8$$anonfun$tupled$1.apply(Function8.scala:35)
        at scala.Function8$$anonfun$tupled$1.apply(Function8.scala:34)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
        at sbt.std.Transform$$anon$4.work(System.scala:64)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.Execute.work(Execute.scala:244)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (compile:compile) java.lang.NoClassDefFoundError: javassist/NotFoundException
[error] Total time: 129 s, completed Aug 20, 2018 12:02:51 PM
./compile.sh: line 152: cd: target/universal: No such file or directory
/bin/ls: cannot access *.zip: No such file or directory
UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
  Default action is to extract files in list, except those in xlist, to exdir;
  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

  -p  extract files to pipe, no messages     -l  list files (short format)
  -f  freshen existing files, create none    -t  test compressed archive data
  -u  update files, create if necessary      -z  display archive comment only
  -v  list verbosely/show version info       -T  timestamp archive to latest
  -x  exclude files that follow (in xlist)   -d  extract files into exdir
modifiers:
  -n  never overwrite existing files         -q  quiet mode (-qq => quieter)
  -o  overwrite files WITHOUT prompting      -a  auto-convert any text files
  -j  junk paths (do not make directories)   -aa treat ALL files as text
  -U  use escapes for all non-ASCII Unicode  -UU ignore any Unicode fields
  -C  match filenames case-insensitively     -L  make (some) names lowercase
  -X  restore UID/GID info                   -V  retain VMS version numbers
  -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager
  -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
  -I CHARSET  specify a character encoding for UNIX and other archives

See "unzip -hh" or unzip.txt for more help.  Examples:
  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
  unzip -p foo | more  => send contents of foo.zip via pipe into program more
  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer
rm: missing operand
Try 'rm --help' for more information.
chmod: cannot access '/bin/dr-elephant': No such file or directory
sed: can't read /bin/dr-elephant: No such file or directory
cp: cannot create regular file '/bin/start.sh': Permission denied
cp: cannot create regular file '/bin/stop.sh': Permission denied
cp: missing destination file operand after '/home/DrElephant/dr-elephant-master/app-conf'
Try 'cp --help' for more information.
mkdir: cannot create directory '/scripts/': Permission denied
cp: cannot create directory '/scripts/': Permission denied

zip error: Nothing to do! (.zip)
Reply all
Reply to author
Forward
0 new messages