Mostafa,

 
OSError: [Errno 13] Permission denied
Perhaps some permission related setting in your OS? If you are unable to 
diagnose this, I suggest to try on a different machine or a VM or docker 
containers.

 

Madhan

 

 

 

 

From: Mostafa <[email protected]>
Date: Monday, March 15, 2021 at 1:54 AM
To: Madhan Neethiraj <[email protected]>
Subject: Re: can't build and run Apache Atlas pulled from official repository

 

Sorry I forgot to mention that I have exported the required environment 
variables too (HBASE and SOLR), before running the  atlas_start.py. 

 

On Monday, March 15, 2021, 12:16:45 PM GMT+3:30, Mostafa 
<[email protected]> wrote: 

 

 

Madhan, 

 

 

I have followed the process exactly the same as what is written in building and 
installing instructions. I would describe what I have done in these links step 
by step:

 

1. Cloning to Apache Atlas via:

            git clone apache/atlas

2. Changing directory to atlas:

            cd atlas

3. Now we are in the project folder (where pom.xml file is located), so we have 
to build Apache Atlas using the following commands:

            export MAVEN_OPTS="-Xms2g -Xmx2g"

            mvn clean -DskipTests install -DskipTests

            mvn clean -DskipTests package -Pdist,embedded-hbase-solr

4. After building it successfully, we have to untar the server files:

            cd distro/target

            tar -xzvf apache-atlas-3.0.0-SNAPSHOT-server.tar.gz 

5. The final step is to run python code which is located in 
distro/target/apache-atlas-3.0.0-SNAPSHOT/bin directory.

            cd apache-atlas-3.0.0-SNAPSHOT/bin

            python2.7 atlas_start.py

 

But I get the following error:

                        

    

            Exception: [Errno 13] Permission denied 

            Traceback (most recent call last):

              File "atlas_start.py", line 165, in <module>

                returncode = main()

              File "atlas_start.py", line 73, in main

                mc.expandWebApp(atlas_home)

              File 
"/home/user/Desktop/atlas/distro/target/apache-atlas-3.0.0-SNAPSHOT/bin/atlas_config.py",
 line 173, in expandWebApp

                jar(atlasWarPath)

              File 
"/home/user/Desktop/atlas/distro/target/apache-atlas-3.0.0-SNAPSHOT/bin/atlas_config.py",
 line 226, in jar

                process = runProcess(commandline)

              File 
"/home/user/Desktop/atlas/distro/target/apache-atlas-3.0.0-SNAPSHOT/bin/atlas_config.py",
 line 262, in runProcess

                p = subprocess.Popen(commandline, stdout=stdoutFile, 
stderr=stderrFile, shell=shell)

              File "/usr/lib/python2.7/subprocess.py", line 394, in __init__

                errread, errwrite)

              File "/usr/lib/python2.7/subprocess.py", line 1047, in 
_execute_child

                raise child_exception

            OSError: [Errno 13] Permission denied

 

 

Are the steps are all the same? 

Does it have special prerequisites? 

Would you please help me how can I fix this error?

 

 

Thanks in advance,

Mostafa

 

 

 

 

apache/atlas
Apache Atlas. Contribute to apache/atlas development by creating an account on 
GitHub.
 

 

 

Apache Atlas – Data Governance and Metadata framework for Hadoop
Apache Atlas – Data Governance and Metadata framework for Hadoop
 

Apache Atlas – Data Governance and Metadata framework for Hadoop
Apache Atlas – Data Governance and Metadata framework for Hadoop
 

 

 

On Monday, March 15, 2021, 06:31:55 AM GMT+3:30, Madhan Neethiraj 
<[email protected]> wrote: 

 

 

Mostafa,

 

I followed the instructions in http://atlas.apache.org/#/BuildInstallation and 
http://atlas.apache.org/#/Installation:

 

- Build Atlas with command:

mvn clean -DskipTests package -Pdist,embedded-hbase-solr

- Install and run with following commands:

tar -xzvf apache-atlas-{project.version}-server.tar.gz

cd apache-atlas-{project.version}

export MANAGE_LOCAL_HBASE=true

export MANAGE_LOCAL_SOLR=true

bin/atlas_start.py

 

To use docker deployment for development purposes, docker-compose can be used 
as detailed here: 
https://github.com/apache/atlas/blob/master/dev-support/atlas-docker/README.md.

 

Hope this helps.

 

Madhan

 

From: Mostafa <[email protected]>
Date: Sunday, March 14, 2021 at 4:11 PM
To: "[email protected]" <[email protected]>
Subject: Re: can't build and run Apache Atlas pulled from official repository

 

Dear Madhan,

 

I found you the only person that paid attention to my email. Would you please 
give me a complete step by step way to build the project that work properly 
(solr and hbase)? I have almost tried all the possible ways but I can't! I have 
also take a deep insight and try all of the way of this dockerized image, But I 
still can't build and run the project successfully.

 

Yours sincerely,

Mostafa

 

On Saturday, March 13, 2021, 06:08:41 PM GMT+3:30, Mostafa 
<[email protected]> wrote: 

 

 

To whom it may concern,

 

 

Due to the small community of Apache Atlas and my deadline and my urgent 
situation, I were to email my issue directly to the developers. I have almost 
seen and tried all the posts related to Apache Atlas in stackoverflow and 
community.cloudera.com but none of them were successful.

 

I have described my problem in full details in [this post](Apache Atlas: HTTP 
ERROR 503 Service Unavailable) on stackoverflow. I really need the answer or 
some hints about how build and run Apache Atlas.

I am looking forward to hearing from you.

 

 

Yours sincerely,

Mostafa Ghadimi

 

Apache Atlas: HTTP ERROR 503 Service UnavailableI have also seen the following 
two similar links, but they were different from mine that I will describe it in 
t...
 

 

Reply via email to