Commit 1f3e4a9 1 parent a766a3a commit 1f3e4a9 Copy full SHA for 1f3e4a9
File tree 3 files changed +87
-0
lines changed
presto-docs/src/main/sphinx
3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Presto Documentation
23
23
router
24
24
develop
25
25
presto-cpp
26
+ troubleshoot
26
27
release
27
28
28
29
.. Note: If "release" is not the last item, the CSS must be updated.
Original file line number Diff line number Diff line change
1
+ ***************
2
+ Troubleshooting
3
+ ***************
4
+
5
+ .. toctree ::
6
+ :maxdepth: 1
7
+
8
+ troubleshoot/deploy
9
+
10
+ This section of the Presto documentation collects known problems when working
11
+ with Presto, and their identified solutions or workarounds.
12
+
13
+ To contribute to this section, or to any other part of the Presto documentation, use the
14
+ *Create docs issue * in the right margin of this page.
Original file line number Diff line number Diff line change
1
+ ================
2
+ Deploying Presto
3
+ ================
4
+
5
+ .. contents ::
6
+ :local:
7
+ :backlinks: none
8
+ :depth: 1
9
+
10
+ ``Permission denied: ‘/private/var/presto/data/var/run/launcher.pid ``
11
+ ---------------------------------------------------------------------
12
+
13
+ Problem
14
+ ^^^^^^^
15
+
16
+ ``bin/launcher run `` or ``bin/launcher start `` returns the following error:
17
+
18
+ ``Permission denied: ‘/private/var/presto/data/var/run/launcher.pid ``
19
+
20
+ Solution
21
+ ^^^^^^^^
22
+
23
+ Run the command as root or using ``sudo ``.
24
+
25
+ .. code-block :: none
26
+
27
+ sudo bin/launcher run
28
+ sudo bin/launcher start
29
+
30
+
31
+ ``xcode select failed to locate python ``
32
+ ----------------------------------------
33
+
34
+ Problem
35
+ ^^^^^^^
36
+
37
+ On an OS X system, ``bin/launcher run `` or ``bin/launcher start `` returns the following error:
38
+
39
+ ``xcode select failed to locate python requesting installation of command ``
40
+
41
+ Solution
42
+ ^^^^^^^^
43
+
44
+ Create a symlink where XCode looks for python that links to python3. An example of such a command:
45
+
46
+ .. code-block :: none
47
+
48
+ ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python
49
+
50
+
51
+
52
+
53
+ ``Error: VM option ‘UseG1GC’ is experimental ``
54
+ ----------------------------------------------
55
+
56
+ Problem
57
+ ^^^^^^^
58
+ ``bin/launcher run `` or ``bin/launcher start `` returns the following error:
59
+
60
+ .. code-block :: none
61
+
62
+ Error: VM option ‘UseG1GC’ is experimental and must be enabled via -XX:+UnlockExperimentalVM Options.
63
+
64
+ Error: Could not create the Java Virtual Machine.
65
+
66
+ Error: A fatal exception has occurred. Program will exit.
67
+
68
+ Solution
69
+ ^^^^^^^^
70
+
71
+ This error occurs with some versions of Java. Uninstall Java, then install a different version of Java.
72
+
You can’t perform that action at this time.
0 commit comments