Hi David,

# I think these are the env variables:

export MANAGE_LOCAL_HBASE=true
export MANAGE_LOCAL_SOLR=true



# Here is a script that builds and starts Atlas locally from source, it was 
posted to this mailing list earlier. 


BRANCH=0.8-incubating
ATLAS_SOURCE_DIR=/tmp/atlas-source
ATLAS_HOME=/tmp/atlas-bin
rm -rf ${ATLAS_SOURCE_DIR}
rm -rf ${ATLAS_HOME}

# Clone Apache Atlas sources
mkdir -p ${ATLAS_SOURCE_DIR}
cd ${ATLAS_SOURCE_DIR}

git clone https://github.com/apache/atlas.git 
<https://github.com/apache/atlas.git> -b master

# build Apache Atlas
cd atlas
git checkout ${BRANCH}

mvn clean -DskipTests -DGRAPH_PROVIDER=titan0 install 
-Pdist,embedded-hbase-solr,graph-provider-titan0


# Install Apache Atlas
mkdir -p ${ATLAS_HOME}

tar xfz distro/target/apache-atlas-*bin.tar.gz --strip-components 1 -C 
${ATLAS_HOME}


# Setup environment and configuration
export MANAGE_LOCAL_HBASE=true

export MANAGE_LOCAL_SOLR=true

export PATH=${PATH}:/tmp/atlas-bin/bin

echo 
atlas.graphdb.backend=org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase
 >> ${ATLAS_HOME}/conf/atlas-application.properties


# Start Apache Atlas
atlas_start.py

# Access Apache Atlas at http://localhost:21000 <http://localhost:21000/>







On 2/14/18, 2:40 PM, "David Aspegren" <david.aspeg...@gmail.com> wrote:

>Hi,
>
>I have the same issue. Where are those environment variables for embedded
>hbase described?
>
>regards,
>David
>
>2018-02-14 14:32 GMT+01:00 Ernie Ostic <eos...@us.ibm.com>:
>
>> Thanks David...
>>
>> build string I am using is: *mvn clean -DskipTests package
>> -Pdist,embedded-hbase-solr*
>>
>> Will check again the environment variables....thx.
>>
>> Ernie
>>
>>
>>
>>
>>
>> Ernie Ostic
>>
>> Worldwide Technical Sales
>> InfoSphere Information Server
>> IBM Analytics
>>
>> Cell: (617) 331 8238 <(617)%20331-8238>
>> ---------------------------------------------------------------
>> Apache Atlas Update! https://dsrealtime.wordpress.
>> com/2017/11/16/apache-atlas-update-have-you-been-watching/
>>
>> Open IGC is here! https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-
>> here/
>>
>> [image: Inactive hide details for David Radley ---02/14/2018 07:44:19
>> AM---Hi Ernie, There are 2 ways to build and run Atlas currently:]David
>> Radley ---02/14/2018 07:44:19 AM---Hi Ernie, There are 2 ways to build and
>> run Atlas currently:
>>
>> From: David Radley <david_rad...@uk.ibm.com>
>> To: dev@atlas.apache.org
>> Date: 02/14/2018 07:44 AM
>> Subject: Re: Server appears to start, but connections fail with 503
>> ------------------------------
>>
>>
>>
>> Hi Ernie,
>> There are 2 ways to build and run Atlas currently:
>>        - external Hbase and Solr and ZK
>>        - embedded HBase Solr and ZK
>>
>> I am not sure which one you are trying. Sharing your build string would be
>> helpful. If you are using the embedded HBase option then you need to
>> specify environment variables, for the runtime Atlas to work,
>>
>> As per yesterdays call - Madhan suggests running with an external HBase,
>> as he seems a performance delay using the embedded HBase.
>>   all the best, David.
>>
>>
>>
>> From:   "Ernie Ostic" <eos...@us.ibm.com>
>> To:     "Atlas" <dev@atlas.apache.org>
>> Date:   14/02/2018 11:52
>> Subject:        Server appears to start, but connections fail with 503
>>
>>
>>
>>
>>
>> Hi all...
>>
>> Using "master", the build appears to be successful, and the server is
>> properly listening on port 21000, but quick start or even direct access
>> fails with 503.   Any suggestions on where to look?   Thanks!
>>
>> Ernie
>>
>>
>>
>> $ bin/quick_start.py
>>
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxBackupIndex] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxBackupIndex] in
>> org.apache.log4j.PatternLayout.
>> log4j:WARN No such property [maxFileSize] in
>> org.apache.log4j.PatternLayout.
>>
>> Enter username for atlas :- admin
>> Enter password for atlas :-
>>
>> Creating sample types:
>>
>> Exception in thread "main" org.apache.atlas.AtlasServiceException:
>> Metadata
>> service API org.apache.atlas.AtlasClientV2$API_V2@1033576a failed with
>> status 503 (Service Unavailable) Response Body (<html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
>> <title>Error 503 </title>
>> </head>
>> <body>
>> <h2>HTTP ERROR: 503</h2>
>> <p>Problem accessing /api/atlas/v2/types/typedefs/. Reason:
>> <pre>    Service Unavailable</pre></p>
>> <hr /><a href="
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__eclipse.
>> org_jetty&d=DwMFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=
>> QhpUQPr5YlG95aAgCvZGStEXHg4hBbSYQ9JkRqR_svY&m=
>> 0y7mtLMoBMEc2RNTv8nhllpgWZHIGzqdnqcU0FUYtvg&s=
>> yRGEThijdpp0lFksddATlowggX7r9D_zX0z2DXZR8EA&e=
>> ">Powered by Jetty://
>> 9.3.14.v20161028</a><hr/>
>> </body>
>> </html>
>> )
>>                 at org.apache.atlas.AtlasBaseClient.callAPIWithResource
>> (AtlasBaseClient.java:388)
>>                 at org.apache.atlas.AtlasBaseClient.callAPIWithResource
>> (AtlasBaseClient.java:323)
>>                 at
>> org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
>>                 at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs
>> (AtlasClientV2.java:227)
>>                 at org.apache.atlas.examples.QuickStartV2.createTypes
>> (QuickStartV2.java:185)
>>                 at org.apache.atlas.examples.QuickStartV2.runQuickstart
>> (QuickStartV2.java:141)
>>                 at
>> org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:126)
>>
>> No sample data added to Apache Atlas Server.
>>
>>
>>
>> Ernie Ostic
>>
>> Worldwide Technical Sales
>> InfoSphere Information Server
>> IBM Analytics
>>
>> Cell: (617) 331 8238 <(617)%20331-8238>
>> ---------------------------------------------------------------
>> Apache Atlas Update!
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__
>> dsrealtime.wordpress.com_2017_11_16_apache-2Datlas-2Dupdate-
>> 2Dhave-2Dyou-2Dbeen-2Dwatching_&d=DwIBAg&c=jf_iaSHvJObTbx-siA1ZOg&r=BRpv_
>> IJLfOPKPg5CMvWe7vPrIiVO97XiMOUrvOhs2KY&m=M6GayZu1Kz1n1GaBTw60dDAEVnvATx
>> HnnOZGJSEzcpU&s=gs5vWioZh6a6c0_9DRS06onmI6SoY4Wxjtoi5INdgyc&e=
>>
>>
>> Open IGC is here!
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__
>> dsrealtime.wordpress.com_2015_07_29_open-2Digc-2Dis-2Dhere_&
>> d=DwIBAg&c=jf_iaSHvJObTbx-siA1ZOg&r=BRpv_IJLfOPKPg5CMvWe7vPrIiVO97XiMOU
>> rvOhs2KY&m=M6GayZu1Kz1n1GaBTw60dDAEVnvATxHnnOZGJSEzcpU&s=
>> zBAZF9LhSU96ytXo2OgCgXnZ8rriyL26nX82uskl8bY&e=
>>
>>
>>
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with number
>> 741598.
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>>
>>
>>
>>

Reply via email to