You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2009/05/08 22:52:45 UTC
[jira] Created: (HBASE-1395) InfoServers no longer put up a UI
InfoServers no longer put up a UI
---------------------------------
Key: HBASE-1395
URL: https://issues.apache.org/jira/browse/HBASE-1395
Project: Hadoop HBase
Issue Type: Bug
Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
Reporter: Andrew Purtell
Fix For: 0.20.0
InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-1395) InfoServers no longer put up a UI
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-1395.
--------------------------
Resolution: Fixed
The issue seems to be basic ordering of dirs in CLASSPATH. Please reopen if this is not it (I tested by doing 'ant package' and noticing UI broke. Doing below fixed things for me):
{code}
Index: bin/hbase
===================================================================
--- bin/hbase (revision 777167)
+++ bin/hbase (working copy)
@@ -118,15 +118,16 @@
CLASSPATH=${CLASSPATH}:$HBASE_HOME/build
fi
-# for releases, add hbase & webapps to CLASSPATH
+# For releases, add hbase & webapps to CLASSPATH
+# Webapps must come first else it messes up Jetty
+if [ -d "$HBASE_HOME/webapps" ]; then
+ CLASSPATH=${CLASSPATH}:$HBASE_HOME
+fi
for f in $HBASE_HOME/hbase*.jar; do
if [ -f $f ]; then
CLASSPATH=${CLASSPATH}:$f;
fi
done
-if [ -d "$HBASE_HOME/webapps" ]; then
- CLASSPATH=${CLASSPATH}:$HBASE_HOME
-fi
# Add libs to CLASSPATH
for f in $HBASE_HOME/lib/*.jar; do
{code}
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Assignee: stack
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-1395) InfoServers no longer put up a UI
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reassigned HBASE-1395:
----------------------------
Assignee: stack
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Assignee: stack
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (HBASE-1395) InfoServers no longer put
up a UI
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707824#action_12707824 ]
Andrew Purtell edited comment on HBASE-1395 at 5/10/09 12:03 PM:
-----------------------------------------------------------------
What is the compelling benefit of Jetty 6 over Jetty 5, to HBase? Why not just revert to Jetty 5 for 0.20?
was (Author: apurtell):
What is the benefit of Jetty 6 over Jetty 5? Why not just revert?
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707824#action_12707824 ]
Andrew Purtell commented on HBASE-1395:
---------------------------------------
What is the benefit of Jetty 6 over Jetty 5? Why not just revert?
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711592#action_12711592 ]
Alex Newman commented on HBASE-1395:
------------------------------------
I also found this issue when I used the tarball I built. It went away when I called ant in my rsync source.
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707861#action_12707861 ]
Andrew Purtell commented on HBASE-1395:
---------------------------------------
Tried $HBASE_HOME/bin/start-hbase.sh, no change.
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707758#action_12707758 ]
stack commented on HBASE-1395:
------------------------------
I was able to reproduce by doing either of below:
1. run the ant package target then cd into the produced 'package' and start hbase
2. ant jar and then to replicate the package deploy, move hbase*.jar to home dir and move build aside so the webapps are not in the classpath.
This is an odd one. I've tried a few things. I even tried just using hadoop HttpServer. That don't work. I downloaded hadoop 0.20.0 and seemingly, the packaged 0.20.0 hadoop don't work either (Maybe its my laptop)
Had something to do w/ way webapps are extracted in jetty6. They look good in /tmp.. web.xmls and everything.... but it don't work. The context at / is 'webapps' when it should be root of master or regionserver.
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707841#action_12707841 ]
stack commented on HBASE-1395:
------------------------------
Don't run it out of build, run it at level above at $HBASE_HOME.. so $HBASE_HOME/bin/start-hbase.sh rather than $HBASE_HOME/build/hbase.../bin/start-hbase.sh
As to compelling jetty6 case, there is none other than move along with hadoop's change and a while back I'd done work to make it so HttpServer was subclassable up in hadoop so, move to exploit this work.
We're not changing our jsps.. we're stuck on the old jsp 2.1 still.
This webapp stuff is a bit of a pain. Its been tricky work making sure our webapps dir was loaded off the classpath and it still gives issue when bringing up hbase in an ide. Let me see if I can figure it (I won't spend much more time on it -- I spent a bunch last night) and if I can't revert is the way to go as you suggest.
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1395) InfoServers no longer put up a UI
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-1395:
----------------------------------
Attachment: 3.png
2.png
1.png
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1395) InfoServers no longer put up a UI
Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707840#action_12707840 ]
Andrew Purtell commented on HBASE-1395:
---------------------------------------
The workaround mentioned on hbase-users@ -- run hbase out of build/ via ./bin/start-hbase.sh -- does not work for me. I see the same behavior regardless.
> InfoServers no longer put up a UI
> ---------------------------------
>
> Key: HBASE-1395
> URL: https://issues.apache.org/jira/browse/HBASE-1395
> Project: Hadoop HBase
> Issue Type: Bug
> Environment: CentOS 5.3 x86_64, JDK 1.6.0_13-b03
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: 1.png, 2.png, 3.png
>
>
> InfoServers do not work in an vanilla Hadoop 0.20 and HBase 0.20-dev installation. Directory listings instead of UI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.