Comments (5)
Hi @sudheer-chava currently Metorikku does not support loading config files from s3, what we do is copy the files from s3 in the bootstrap script of the cluster.
It would be a nice addition to have Metorikku load these files automatically, maybe we will get to it somewhere in the future.. :)
10x
Ron
from metorikku.
Added #142 to support this
from metorikku.
I am trying to run the following spark-submit
/home/ec2-user/spark_home/bin/spark-submit --class com.yotpo.metorikku.Metorikku --deploy-mode cluster --driver-memory 4g --executor-memory 50g --executor-cores 8 --master <master_host>:6066 metorikku.jar -c s3a:///slice/metorikku_test.yaml
it failed with the following error message.
Error: Supplied YAML file not found
Try --help for more information.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
Caused by: com.yotpo.metorikku.exceptions.MetorikkuException: Failed to parse config file
at com.yotpo.metorikku.configuration.ConfigurationParser$.parse(ConfigurationParser.scala:20)
at com.yotpo.metorikku.Metorikku$.delayedEndpoint$com$yotpo$metorikku$Metorikku$1(Metorikku.scala:15)
at com.yotpo.metorikku.Metorikku$delayedInit$body.apply(Metorikku.scala:12)
at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at com.yotpo.metorikku.Metorikku$.main(Metorikku.scala:12)
at com.yotpo.metorikku.Metorikku.main(Metorikku.scala)
... 6 morewhen metorikku_test.yaml config file is placed locally it works absolutely fine. How to make config file (and metrics file be placed at a centralised location such as S3 so available at runtime?)
Hi Sudheer,
Can you help me how did you do that. When I am using spark-submit command it is throwing error with file not found.
File does not exist: /home/hadoopuser/IdeaProjects/metorikku/examples/movies.yaml
from metorikku.
Can you share your full spark-submit command?
from metorikku.
spark-submit --master local[*] --class com.yotpo.metorikku.Metorikku /home/hadoopuser/IdeaProjects/metorikku/target/scala-2.11/metorikku.jar -c /home/hadoopuser/IdeaProjects/metorikku/examples/movies.yaml
from metorikku.
Related Issues (20)
- Control writing specific output in yaml file HOT 1
- Add SQS Output support
- Kafka Output Extra Arguments
- How we can read and write the data to Hive? HOT 3
- failed to rest hudi metrics HOT 2
- Adding auth parameters for schemaRegistry
- Unable to load S3 HOT 2
- Add support for Kafka input in batch mode
- Which version of log4j is used in metorikku? HOT 2
- Bump version of jackson-databind to get rid of vulnerabilities
- How to use Apache Spark Connector?
- spark-jobserver server support
- Error: java.sql.SQLException: No suitable driver HOT 2
- Significance of tableName for output in metric.yaml file HOT 2
- Upgrade ABRiS to be able to use Spark 3.2.x
- Pyspark code
- Some questions around E2E Tests
- using jdbc input to load oracle datasource will throw NPE
- Support for Spark 3.2.0+
- Add additional maintainers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metorikku.