What To Do When Tamr or Tamr Dependencies Started as the Root User?

When you start Tamr or Tamr dependencies as a root user, Tamr cannot access the necessary files which results in an error, like the one included below.

To undo this and start Tamr as the right (Tamr functional) user, follow the steps described here.

Application application_1583310748074_0031 failed 1 times due to AM Container for appattempt_1583310748074_0031_000001 exited with  exitCode: -1000

For more detailed output, check application tracking page:http://tamradmin:8088/cluster/app/application_1583310748074_0031Then, click on links to logs of each attempt.

Diagnostics: File file:/root/.sparkStaging/application_1583310748074_0031/__spark_conf__.zip does not exist

java.io.FileNotFoundException: File file:/root/.sparkStaging/application_1583310748074_0031/__spark_conf__.zip does not exist

at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:611) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:824)

at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:601)

at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421)

at org.apache.hadoop.yarn.util.FSDownload.copy(FSDownload.java:253)

at org.apache.hadoop.yarn.util.FSDownload.access$000(FSDownload.java:63)

at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:361)

at org.apache.hadoop.yarn.util.FSDownload$2.run(FSDownload.java:359)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:422)

at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)

at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:358)

at org.apache.hadoop.yarn.util.FSDownload.call(FSDownload.java:62)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Failing this attempt. Failing the application.

Did this page help you?