linkedin / linkedin/dr-elephant

compile error

Open
#684 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
839
PR merge metrics
No merged PRs in 30d

Description

Checking for required programs...
Program requirement is fulfilled!
Using config file: compile.conf
Hadoop Version : 2.6.0-cdh5.13.3
Spark Version : 1.6.0-cdh5.13.3
Other opts set : -Dsbt.repository.config=app-conf/resolver.conf
############################################################################
npm installation found, we'll compile with the new user interface
############################################################################
+ sleep 3
+ ember_assets=/home/dr-elephant/public/assets
+ ember_resources_dir=/home/dr-elephant/public/assets/ember
+ ember_web_directory=/home/dr-elephant/web
+ cd /home/dr-elephant/web
+ npm install
audited 30921 packages in 8.951s

5 packages are looking for funding
run `npm fund` for details

found 333 vulnerabilities (94 low, 43 moderate, 196 high)
run `npm audit fix` to fix them, or `npm audit` for details
+ node_modules/bower/bin/bower install
+ node_modules/ember-cli/bin/ember build --prod
WARNING: Node v10.0.0 has currently not been tested against Ember CLI and may result in unexpected behaviour.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Built project successfully. Stored in "dist/".
File sizes:
- dr-elephant.css: 8.61 KB (2.49 KB gzipped)
- dr-elephant.js: 277.75 KB (28.34 KB gzipped)
- aggregated-metrics.css: 207 B (156 B gzipped)
- application-menu.css: 334 B (218 B gzipped)
- application.css: 34 B (54 B gzipped)
- breadcrumbs.css: 1.36 KB (566 B gzipped)
- dashboard-header.css: 609 B (340 B gzipped)
- heuristic-detail.css: 127 B (109 B gzipped)
- heuristics-summary.css: 536 B (281 B gzipped)
- jobs-severity.css: 333 B (202 B gzipped)
- loading-panel.css: 129 B (126 B gzipped)
- navbar.css: 920 B (282 B gzipped)
- not-found.css: 76 B (74 B gzipped)
- search-panel.css: 39 B (59 B gzipped)
- search.css: 569 B (300 B gzipped)
- user-detail.css: 988 B (435 B gzipped)
- user-tabs.css: 725 B (321 B gzipped)
- user-tags.css: 76 B (75 B gzipped)
- vendor.css: 143.24 KB (24.08 KB gzipped)
- vendor.js: 1.21 MB (356.31 KB gzipped)
+ rm -r /home/dr-elephant/public/assets/ember
+ mkdir /home/dr-elephant/public/assets/ember
+ cp dist/assets/dr-elephant.css /home/dr-elephant/public/assets/ember/
+ cp dist/assets/dr-elephant.js /home/dr-elephant/public/assets/ember/
+ cp dist/assets/vendor.js /home/dr-elephant/public/assets/ember/
+ cp dist/assets/vendor.css /home/dr-elephant/public/assets/ember/
+ cp -r dist/fonts /home/dr-elephant/public/assets/
+ cd /home/dr-elephant
+ trap exit SIGINT SIGTERM
+ set +x
Command is: play -Dhadoopversion=2.6.0-cdh5.13.3 -Dsparkversion=1.6.0-cdh5.13.3 -Dsbt.repository.config=app-conf/resolver.conf clean compile test
activator is /opt/activator-dist-1.3.12/bin/activator
[info] Loading project definition from /home/dr-elephant/project
[info] Set current project to dr-elephant (in build file:/home/dr-elephant/)
[success] Total time: 0 s, completed Apr 27, 2020 4:57:36 PM
[info] Updating {file:/home/dr-elephant/}root...
[info] Resolving org.jacoco#org.jacoco.agent;0.7.1.201405082137 ...
[info] Done updating.
[warn] Scala version was updated by one of library dependencies:
[warn] * org.scala-lang:scala-library:(2.10.3, 2.10.0, 2.10.4, 2.10.2) -> 2.10.5
[warn] To force scalaVersion, add the following:
[warn] ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] * com.google.guava:guava:(16.0.1, 11.0.2, 14.0.1) -> 18.0
[warn] * com.fasterxml.jackson.module:jackson-module-scala_2.10:2.2.3 -> 2.5.3
[warn] * com.jsuereth:scala-arm_2.10:1.3 -> 1.4
[warn] * com.google.code.findbugs:jsr305:1.3.9 -> 2.0.1
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 98 Scala sources and 160 Java sources to /home/dr-elephant/target/scala-2.10/classes...
[error] /home/dr-elephant/app/org/apache/spark/deploy/history/SparkDataCollection.scala:52: not enough arguments for constructor StorageStatusListener: (conf: org.apache.spark.SparkConf)org.apache.spark.storage.StorageStatusListener.
[error] Unspecified value parameter conf.
[error] lazy val storageStatusListener = new StorageStatusListener()
[error] ^
[error] /home/dr-elephant/app/org/apache/spark/deploy/history/SparkDataCollection.scala:53: not enough arguments for constructor ExecutorsListener: (storageStatusListener: org.apache.spark.storage.StorageStatusListener, conf: org.apache.spark.SparkConf)org.apache.spark.ui.exec.ExecutorsListener.
[error] Unspecified value parameter conf.
[error] lazy val executorsListener = new ExecutorsListener(storageStatusListener)
[error] ^
[warn] /home/dr-elephant/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
[error] two errors found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 25 s, completed Apr 27, 2020 4:58:02 PM
Build failed...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in app/org/apache/spark/deploy/history/SparkDataCollection.scala at lines 52-53, then inspect the Spark StorageStatusListener and ExecutorsListener constructors used by the configured Spark version. Re-run the reported clean compile after determining the required constructor inputs; done means compilation completes without these two errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
hadoop, scala, spark
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.