On May 26, 2016, 6:04 p.m., Tom Beerbower wrote:
> > In the package built using '-Pdist,embedded_services', atlas_start doesn't
> > start embedded hbase and solr. is that expected?
>
> Tom Beerbower wrote:
> You have to run atlas-env.sh first.
>
> Shwetha GS wrote:
> Can't atlas_start.py and atlas_stop.py in trun run atlas-env.sh, instead
> of adding this as an extra manual step?
>
> Tom Beerbower wrote:
> I guess that it could but atlas-env.sh isn't new. It has always been a
> requirement to run it first.
>
> Shwetha GS wrote:
> From InstallationSteps.twiki:
> atlas-env.sh has been added to the Atlas conf. This file can be used to
> set various environment
> variables that you need for you services. In addition you can set any
> other environment
> variables you might need. This file will be sourced by atlas scripts
> before any commands are
> executed.
>
> I think the intention was to run atlas-env.sh as part of atlas_start
> always, but was missed. Thats how it is even in hive:
> bin$ grep -r hive-env.sh *
> hive:if [ -f "${HIVE_CONF_DIR}/hive-env.sh" ]; then
> hive: . "${HIVE_CONF_DIR}/hive-env.sh"
>
> Your call if you want to address that as part of another jira
>
> Shwetha GS wrote:
> Running atlas-env.sh before atlas_start didn't start hbase and solr:
> apache-atlas-0.7-incubating-SNAPSHOT$ ./conf/atlas-env.sh
> apache-atlas-0.7-incubating-SNAPSHOT$ ./bin/atlas_start.py
> Apache Atlas Server started!!!
This works ...
>>source ./conf/atlas-env.sh
>>echo $MANAGE_LOCAL_HBASE
true
>>echo $MANAGE_LOCAL_SOLR
true
>>bin/atlas_start.py
configured for local hbase.
hbase started.
configured for local solr.
solr started.
setting up solr collections...
Apache Atlas Server started!!!
- Tom
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47782/#review135028
-----------------------------------------------------------
On May 26, 2016, 7:14 p.m., Tom Beerbower wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47782/
> -----------------------------------------------------------
>
> (Updated May 26, 2016, 7:14 p.m.)
>
>
> Review request for atlas and Hemanth Yamijala.
>
>
> Bugs: ATLAS-823
> https://issues.apache.org/jira/browse/ATLAS-823
>
>
> Repository: atlas
>
>
> Description
> -------
>
> Use of embedded HBase and SOLR is not preferred due to multiple concerns,
> including:
>
> 1. lack of support by Ambari makes it difficult to handle kerberization,
> upgrade/migration, start/stop
> 2. not suitable for production use - no HA, local-storage
>
> Atlas should remove support for embedded HBase and SOLR. Instead Atlas should
> be updated to use external HBase and SOLR.
>
>
> Diffs
> -----
>
> distro/pom.xml 1ab092d
> distro/src/bin/atlas_config.py 8f3479c
> distro/src/bin/atlas_start.py cb869bb
> distro/src/conf/atlas-application.properties 26f84e9
> distro/src/conf/atlas-env.sh 4f1f46c
> distro/src/main/assemblies/standalone-package.xml 09ff47d
> docs/src/site/twiki/Configuration.twiki 879c06c
> docs/src/site/twiki/InstallationSteps.twiki 006e1e8
>
> Diff: https://reviews.apache.org/r/47782/diff/
>
>
> Testing
> -------
>
> updated unit test
>
> mvn clean test
>
>
> Thanks,
>
> Tom Beerbower
>
>