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