[ 
https://issues.apache.org/jira/browse/HBASE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-2703:
-------------------------

    Attachment: 2703-v2.txt

M bin/hbase
+ Remove add_maven_target_dir_to_classpath.  Not used.
+ Add target/hbase-webapps to CP and fix fact that when deployed, we were 
looking for webapps in 'webapps' instead of in 'hbase-webapps'.  Don't include 
the sources.jar in CP because it included jsps under webapps dir and we were 
undoing the webapp from here.

M pom.xml
+ We were looking for resources to include jar in wrong place.
+ We were also generating the web.xml under srcs instead of under target 
(though this was broke because we no WEB-INF dir checked in.  W/o it, the 
web.xml was failing silently).
+ We were missing logo.
+ Now we generate web.xml, etc., into target build dir AND we include the 
generated web.xml stuff in the jar, rather than directly what was under src.
+ I put all the source generation into the one maven-antrun-plugin section 
rather than have two (version and the web stuff).  Also made them generate code 
both into 'generated-sources' instead of into 'generated-sources' and 'jspc' 
dir.  I messed around here trying to be smart doing conditionals in ant so we 
only did ant stuff if dirs didn't exist but ant just pissed me off.  You can't 
set a property in one 'task' and then condidtionally run the second 'task' only 
if the property is not set.  Each task starts w/ a clean environment it seems 
(This is a mvn issue).  Then, in ant, w/i a target, I cannot do a conditional 
execution.  There is an 'if' task but its in an ant contrib that looks way old 
and stale.  I don't want to use old stuff.  Now we run each time but seems to 
go fast.

Tested it in local, assembled and on a cluster.  Seems to work.  Committing.


> ui not working in distributed context
> -------------------------------------
>
>                 Key: HBASE-2703
>                 URL: https://issues.apache.org/jira/browse/HBASE-2703
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.21.0
>
>         Attachments: 2703-v2.txt, 2703.txt
>
>
> UI is not showing when you put hbase on a cluster; this is since we renamed 
> webapps dir as hbase-webapps.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to