Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Alluxio from source, cannot open alluxio web with 19999 port #9005

Closed
geweixuan opened this issue May 7, 2019 · 7 comments
Closed
Labels
needs-info waiting on issue opener to respond type-bug This issue is about a bug

Comments

@geweixuan
Copy link

Alluxio Version:
What version of Alluxio are you using?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)

Expected behavior
A clear and concise description of what you expected to happen.

Urgency
Describe the impact and urgency of the bug.

Additional context
Add any other context about the problem here.
issue

@geweixuan geweixuan added the type-bug This issue is about a bug label May 7, 2019
@ZacBlanco
Copy link
Contributor

Hi @geweixuan! We'll need some more information to debug your issue. Everything works fine on my end.

  • What command did you use to build alluxio?
  • Which branch are you building from?
  • and also, if possible, what is the date you attempted to build?
  • Are there any useful messages in logs/master.log?

@geweixuan
Copy link
Author

2019-05-08 10:58:11,885 WARN WebAppContext - Failed startup of context o.e.j.w.WebAppContext@7c6908d7{/,null,null}{/opt/FileServer/alluxio-1.8.1/core/server/common/src/main/webapp}
java.io.FileNotFoundException: /opt/FileServer/alluxio-1.8.1/core/server/common/src/main/webapp
at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:493)
at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:72)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at alluxio.web.WebServer.start(WebServer.java:184)
at alluxio.master.AlluxioMasterProcess.startServingWebServer(AlluxioMasterProcess.java:336)
at alluxio.master.AlluxioMasterProcess.startServing(AlluxioMasterProcess.java:308)
at alluxio.master.AlluxioMasterProcess.startServing(AlluxioMasterProcess.java:296)
at alluxio.master.AlluxioMasterProcess.start(AlluxioMasterProcess.java:229)
at alluxio.ProcessUtils.run(ProcessUtils.java:32)
at alluxio.master.AlluxioMaster.main(AlluxioMaster.java:55)

@ZacBlanco
Copy link
Contributor

It looks like your installation of Alluxio doesn't include the necessary files at /opt/FileServer/alluxio-1.8.1/core/server/common/src/main/webapp.

What process did you follow to build and install Alluxio? If you follow the steps here to build (https://docs.alluxio.io/os/user/stable/en/contributor/Building-Alluxio-From-Source.html) and run ./bin/alluxio-start.sh local then your web UI should appear.

Otherwise, if you need a tarball that can be installed elsewhere, you can run

./dev/scripts/generate-tarballs single

which should generate a tarball you can put install under /opt

@geweixuan
Copy link
Author

How to include the necessary files at /opt/FileServer/alluxio-1.8.1/core/server/common/src/main/webapp.
I'm follow the steps of (https://docs.alluxio.io/os/user/stable/en/contributor/Building-Alluxio-From-Source.html)
alluxio version 1.8.1, doesn't have web UI

@ZacBlanco
Copy link
Contributor

ZacBlanco commented May 8, 2019

The following commands will check out v1.8.1 build, and then start it from the repository. They are all found in the document you linked

git clone https://github.com/Alluxio/alluxio.git
cd alluxio
git checkout v1.8.1
mvn -T 2C clean install -DskipTests -Dmaven.javadoc.skip -Dfindbugs.skip -Dcheckstyle.skip -Dlicense.skip
./bin/alluxio-start-.sh local SudoMount

@apc999
Copy link
Contributor

apc999 commented May 10, 2019

@geweixuan, does @ZacBlanco's instruction help here?

@calvinjia calvinjia added the needs-info waiting on issue opener to respond label Jul 24, 2019
@calvinjia
Copy link
Contributor

@geweixuan Closing this due to inactivity, please reopen if you still have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info waiting on issue opener to respond type-bug This issue is about a bug
Projects
None yet
Development

No branches or pull requests

4 participants