You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: flintrock [OPTIONS] COMMAND [ARGS]...
Flintrock
A command-line tool for launching Apache Spark clusters.
Options:
--config TEXT Path to a Flintrock configuration file.
--provider [ec2]
--version Show the version and exit.
--help Show this message and exit.
Commands:
add-slaves Add slaves to an existing cluster.
configure Configure Flintrock's defaults.
copy-file Copy a local file up to a cluster.
describe Describe an existing cluster.
destroy Destroy a cluster.
launch Launch a new cluster.
login Login to the master of an existing cluster.
remove-slaves Remove slaves from an existing cluster.
run-command Run a shell command on a cluster.
start Start an existing, stopped cluster.
stop Stop an existing, running cluster.
Which may means that everything is installed as expected. Then I wanted to configure the cluster and I ran the commando " flintrock configure" . This is what this returned
hzmarrou@ip-172-31-42-206:~$ flintrock configure
hzmarrou@ip-172-31-42-206:~$ Warning: unknown mime-type for "/home/hzmarrou/.config/flintrock/config.yaml" -- using "application/octet-stream"
Error: no "view" mailcap rules found for type "application/octet-stream"
WARNING: You don't seem to have any mimeinfo.cache files.
Try running the update-desktop-database command. If you
don't have this command you should install the
desktop-file-utils package. This package is available from
http://freedesktop.org/wiki/Software_2fdesktop_2dfile_2dutils
Can't call method "get_value" on an undefined value at /usr/bin/mimeopen line 162.
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 461: /usr/bin/xdg-open: lynx: not found
Error occured while reset 800b: errno=5
xdg-open: no method available for opening '/home/hzmarrou/.config/flintrock/config.yaml'
I have no clue what does that means.
Could you please help me figure out what the problem is?
Best regards
Flintrock version: 0.6.0
Python version: 3.4
OS: Ubuntu
The text was updated successfully, but these errors were encountered:
hzmarrou@ip-172-31-42-206:~$ Warning: unknown mime-type for "/home/hzmarrou/.config/flintrock/config.yaml" -- using "application/octet-stream"
It looks like Flintrock can't find an editor on your system configured to open YAML files.
You can get around this easily by manually opening /home/hzmarrou/.config/flintrock/config.yaml with your favorite editor. That's all flintrock configure does anyway, after it creates that file with a bunch of defaults.
I think one thing Flintrock can do better here is to automatically give the advice I've just given if it detects that launching the editor failed.
Dear Nicholas,
I am trying to use flintrock to launch a spark cluster for data science.I am walking trough the following tutorial "https://alexioannides.com/2016/08/18/building-a-data-science-platform-for-rd-part-2-deploying-spark-on-aws-using-flintrock/ ". I installed flitrock using the "pip3 install flintrock".
I checked if flintrock is well installed using the commando's flintrock --help.This returned
Which may means that everything is installed as expected. Then I wanted to configure the cluster and I ran the commando " flintrock configure" . This is what this returned
I have no clue what does that means.
Could you please help me figure out what the problem is?
Best regards
The text was updated successfully, but these errors were encountered: