# Installing INSIGHTS: Database Migrate Error

**URL:** <https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499>\
**Category:** Site Operations Help\
**Created:** [June 20, 2020, 4:05am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499 "2020-06-20T04:05:00Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [June 20, 2020, 4:05am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/1 "2020-06-20T04:05:00Z")

</div>

I´m getting this error while following the official guide for the [OpenEdx Insights Installation](https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/43385371/edX+Analytics+Installation)

The process stops at the **TASK [edx\_django\_service: migrate database]**

> fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: [“make”, “migrate”], “delta”: “0:00:00.822474”, “end”: “2020-06-20 02:51:24.188051”, “msg”: “non-zero return code”, “rc”: 2, “start”: “2020-06-20 02:51:23.365577”, “stderr”: “/edx/app/analytics\_api/analytics\_api/analyticsdataserver/settings/production.py:34: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read [https://msg.pyyaml.org/load](https://msg.pyyaml.org/load) for full details.\n config\_from\_yaml = yaml.load(f)\nTraceback (most recent call last):\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection\n self.connect()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect\n self.connection = self.get\_new\_connection(conn\_params)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get\_new\_connection\n return Database.connect(\*\*conn\_params)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/ **init**.py", line 84, in Connect\n return Connection(\*args, \*\*kwargs)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/connections.py", line 179, in **init** \n super(Connection, self). **init** (\*args, \*\*kwargs2)\nMySQLdb.\_exceptions.OperationalError: (1045, "Access denied for user ‘migrate’@‘localhost’ (using password: YES)")\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "./manage.py", line 10, in \n execute\_from\_command\_line(sys.argv)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/ **init**.py", line 381, in execute\_from\_command\_line\n utility.execute()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/ **init**.py", line 375, in execute\n self.fetch\_command(subcommand).run\_from\_argv(self.argv)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run\_from\_argv\n self.execute(\*args, \*\*cmd\_options)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 361, in execute\n self.check()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 390, in check\n include\_deployment\_checks=include\_deployment\_checks,\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 64, in \_run\_checks\n issues = run\_checks(tags=[Tags.database])\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/checks/registry.py", line 72, in run\_checks\n new\_errors = check(app\_configs=app\_configs)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/checks/database.py", line 10, in check\_database\_backends\n issues.extend(conn.validation.check(\*\*kwargs))\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 9, in check\n issues.extend(self.\_check\_sql\_mode(\*\*kwargs))\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 13, in \_check\_sql\_mode\n with self.connection.cursor() as cursor:\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor\n return self.\_cursor()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in \_cursor\n self.ensure\_connection()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection\n self.connect()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/utils.py", line 89, in **exit** \n raise dj\_exc\_value.with\_traceback(traceback) from exc\_value\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection\n self.connect()\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect\n self.connection = self.get\_new\_connection(conn\_params)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get\_new\_connection\n return Database.connect(\*\*conn\_params)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/ **init**.py", line 84, in Connect\n return Connection(\*args, \*\*kwargs)\n File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/connections.py", line 179, in **init** \n super(Connection, self). **init** (\*args, \*\*kwargs2)\ndjango.db.utils.OperationalError: (1045, "Access denied for user ‘migrate’@‘localhost’ (using password: YES)")\nmake: \*\*\* [migrate] Error 1”, “stderr\_lines”: [“/edx/app/analytics\_api/analytics\_api/analyticsdataserver/settings/production.py:34: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read [https://msg.pyyaml.org/load](https://msg.pyyaml.org/load) for full details.”, " config\_from\_yaml = yaml.load(f)“, “Traceback (most recent call last):”, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection”, " self.connect()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect”, " self.connection = self.get\_new\_connection(conn\_params)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get\_new\_connection”, " return Database.connect(\*\*conn\_params)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/ **init**.py", line 84, in Connect”, " return Connection(\*args, \*\*kwargs)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/connections.py", line 179, in **init** ”, " super(Connection, self). **init** (\*args, \*\*kwargs2)“, “MySQLdb.\_exceptions.OperationalError: (1045, "Access denied for user ‘migrate’@‘localhost’ (using password: YES)")”, “”, “The above exception was the direct cause of the following exception:”, “”, “Traceback (most recent call last):”, " File "./manage.py", line 10, in ”, " execute\_from\_command\_line(sys.argv)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/ **init**.py", line 381, in execute\_from\_command\_line”, " utility.execute()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/ **init**.py", line 375, in execute”, " self.fetch\_command(subcommand).run\_from\_argv(self.argv)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run\_from\_argv”, " self.execute(\*args, \*\*cmd\_options)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 361, in execute”, " self.check()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/base.py", line 390, in check”, " include\_deployment\_checks=include\_deployment\_checks,“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 64, in \_run\_checks”, " issues = run\_checks(tags=[Tags.database])“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/checks/registry.py", line 72, in run\_checks”, " new\_errors = check(app\_configs=app\_configs)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/core/checks/database.py", line 10, in check\_database\_backends”, " issues.extend(conn.validation.check(\*\*kwargs))“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 9, in check”, " issues.extend(self.\_check\_sql\_mode(\*\*kwargs))“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/validation.py", line 13, in \_check\_sql\_mode”, " with self.connection.cursor() as cursor:“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor”, " return self.\_cursor()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in \_cursor”, " self.ensure\_connection()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection”, " self.connect()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/utils.py", line 89, in **exit** ”, " raise dj\_exc\_value.with\_traceback(traceback) from exc\_value", " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure\_connection", " self.connect()“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect”, " self.connection = self.get\_new\_connection(conn\_params)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get\_new\_connection”, " return Database.connect(\*\*conn\_params)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/ **init**.py", line 84, in Connect”, " return Connection(\*args, \*\*kwargs)“, " File "/edx/app/analytics\_api/venvs/analytics\_api/lib/python3.6/site-packages/MySQLdb/connections.py", line 179, in **init** ”, " super(Connection, self). **init** (\*args, \*\*kwargs2)“, “django.db.utils.OperationalError: (1045, "Access denied for user ‘migrate’@‘localhost’ (using password: YES)")”, “make: \*\*\* [migrate] Error 1”], “stdout”: “./manage.py migrate --noinput --run-syncdb --database=default\nMakefile:101: recipe for target ‘migrate’ failed”, “stdout\_lines”: [”./manage.py migrate --noinput --run-syncdb --database=default", “Makefile:101: recipe for target ‘migrate’ failed”]}

The key seems to be in the sentence: “**Access denied for user ‘migrate’@‘localhost’ (using password: YES)**” I already created a new user **migrate** in my insights machine and checked if a user **migrate** exists in my Open Edx installation machine.

Can anybody please help me?

Thanks a lot 🙂

 ![Sin título](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/b/b78c134a4df07ed1dc16b8962e593a0a0d98073e.png)

---

<div class="post-metadata">

**Author:** ![jill](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/jill/32/3188_2.png) [@jill](https://discuss.openedx.org/u/jill)\
**Post date:** [June 22, 2020, 12:36pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/2 "2020-06-22T12:36:35Z")

</div>

> [@Xperez](#):
>
> I´m getting this error while following the official guide for the [OpenEdx Insights Installation](https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/43385371/edX+Analytics+Installation)

That’s a pretty old guide, and doesn’t use python3, so you might run into many issues there. I don’t know if there’s an updated guide for production deployments, but you can get some clues from the analytics devstack: [Getting Started on Analytics](https://github.com/edx/devstack#getting-started-on-analytics)

Alternatively, you can consult [OpenCraft’s AWS analytics deployments](https://openedx-deployment.doc.opencraft.com/en/latest/analytics/AWS_setup/) doc, but we haven’t updated it for Juniper/python3 yet either.

> [@Xperez](#):
>
> The key seems to be in the sentence: “ **Access denied for user ‘migrate’@‘localhost’ (using password: YES)** ” I already created a new user **migrate** in my insights machine and checked if a user **migrate** exists in my Open Edx installation machine.

You’re correct, that’s the error that’s blocking that step.

So you’ve created the `migrate` user on your database… have you granted it permissions?

```auto
GRANT ALL PRIVILEGES ON `reports`.* TO 'migrate'@'%';
GRANT ALL PRIVILEGES ON `dashboard`.* TO 'migrate'@'%';
GRANT ALL PRIVILEGES ON `analytics-api`.* TO 'migrate'@'%';
FLUSH PRIVILEGES;

```

---

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [June 24, 2020, 10:18pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/3 "2020-06-24T22:18:18Z")

</div>

Hi Jill, thank you so much for the answer, unfortunately im getting the same error:

- Im working on two separates machines, one for my Open Edx instance and one for my Insights instance.
- I have a user “migrate”, with granted permissions on my Open Edx Machine as you pointed.
- The command in which the process is stopping is:

> `ansible` `-` `playbook ` `-` `i localhost, ` `-` `c local analytics_single.yml ` `-` `-` `extra` `-` `vars``"INSIGHTS_LMS_BASE=$LMS_HOSTNAME INSIGHTS_BASE_URL=$INSIGHTS_HOSTNAME"`

Being:

> LMS\_HOSTNAME=“http://\<OPEN\_EDX\_IP\>”

> INSIGHTS\_HOSTNAME=“http://\<INSIGHTS\_IP\>:18110”

- I already tested if a remote mysql connection is possible between my two machines, it is.

Why is my user being blocked if “migrate” has the privileges and i can remotely connect from the “insights machine”? Can you please guide me? thanks for your help 🙂

PS: Im installing insights in an Azure enviroment using 2 virtual machines, not using AWS, but fo far i had no problems with AWS\_GATHER\_FACTS or the EC2 and AWS tasks.

---

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [June 25, 2020, 12:38am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/4 "2020-06-25T00:38:13Z")

</div>

Ok i will answer myself for future users:  
I had to create migrate, api001 and reports001 users like this:

> user@your-insights-machine-ip

I guess it will work changing the “your-insights-machine-ip” for a “%”.

I had to change ANALYTICS\_API\_DEFAULT\_HOST variable to my Open Edx Machine`s IP.

---

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [June 25, 2020, 1:15am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/5 "2020-06-25T01:15:26Z")

</div>

Now i have an error in “hadoop\_common : native lib built”:

> “native build only supported on Mac or Unix”

But im working on an ubuntu 18…so i guess there should be no error right?

As i can see it has something to do with **maven-enforcer-plugin**

Do i need to edit any of the files related to hadoop? Where should i be able to see this installation process`s logs so i get more information about this last one?

UPDATE: i got this screenshot of the failure

> [ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.7.2:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure → [Help 1]  
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.7.2:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure

 ![Captura de Pantalla 2020-06-24 a la(s) 20.59.12](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/d/d14312d231e1bd35b8007a42fdb5fd3f238944a4.png)

Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![jill](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/jill/32/3188_2.png) [@jill](https://discuss.openedx.org/u/jill)\
**Post date:** [June 25, 2020, 7:39am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/6 "2020-06-25T07:39:53Z")

</div>

> [@Xperez](#):
>
> Im installing insights in an Azure enviroment using 2 virtual machines, not using AWS, but fo far i had no problems with AWS\_GATHER\_FACTS or the EC2 and AWS tasks.

Sorry… there’s a lot of things that will fail to work outside of AWS with the normal setup… the analytics pipeline is not really designed to be run on a single VM in a production environment, and requires a lot of customisations all over the place in order to work. For example, the out-of-the-box production deployments rely on configurations in AWS’s Elastic MapReduce (EMR) service, which you can emulate with your own VM, but you have to learn a lot about [hadoop](https://hadoop.apache.org/) and [hive](https://hive.apache.org/) in order to do that. It’s possible, but will require a lot of time.

> [@Xperez](#):
>
> Now i have an error in “hadoop\_common : native lib built”:
> 
> > “native build only supported on Mac or Unix”

[Hadoop](https://hadoop.apache.org/) isn’t part of Open edX, so you’d need to read up on it to find out how to install it on your environment.

---

<div class="post-metadata">

**Author:** ![antoviaque](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/antoviaque/32/32_2.png) [@antoviaque](https://discuss.openedx.org/u/antoviaque)\
**Post date:** [June 29, 2020, 8:06am UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/8 "2020-06-29T08:06:49Z")

</div>

Split this topic on June 29, 2020, 8:06am UTC

7 posts were split to a new topic: [Issues installing Figures](https://discuss.openedx.org/t/issues-installing-figures/2580)

---

<div class="post-metadata">

**Author:** ![lucarl](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lucarl](https://discuss.openedx.org/u/lucarl)\
**Post date:** [July 15, 2020, 2:25pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/9 "2020-07-15T14:25:49Z")

</div>

Where do you do this?

---

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [July 15, 2020, 2:40pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/10 "2020-07-15T14:40:20Z")

</div>

You should try installing Figures instead if you want Insights outside AWS: Check [this post](https://discuss.openedx.org/t/how-to-install-figures-appsembler/2142/3)

And [this post](https://discuss.openedx.org/t/issues-installing-figures/2580)

I had no luck installing insights…i had better luck with Figures, hope this helps.

---

<div class="post-metadata">

**Author:** ![lucarl](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lucarl](https://discuss.openedx.org/u/lucarl)\
**Post date:** [July 15, 2020, 2:56pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/11 "2020-07-15T14:56:03Z")

</div>

Yes, I’ve been stuck with this for awhile. Thank you!

---

<div class="post-metadata">

**Author:** ![Xperez](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/xperez/32/1089_2.png) [@Xperez](https://discuss.openedx.org/u/Xperez)\
**Post date:** [July 15, 2020, 3:44pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/12 "2020-07-15T15:44:51Z")

</div>

I completely understand you 🙂

Try installing figures, its much easier, if you have any doubt please tell me.

---

<div class="post-metadata">

**Author:** ![lucarl](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lucarl](https://discuss.openedx.org/u/lucarl)\
**Post date:** [December 6, 2020, 2:00pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/13 "2020-12-06T14:00:28Z")

</div>

Hi, we decided to use Figures instead of Insights. I followed the exact instructions given by taufanbudiman, including having the right version of yarn etc. Everything went smooth until the last step when migrating, and the same problem that had originally showed up appeared again with: Importerror: No module named safe\_lxml.  
Do you know anything about this problem?

---

<div class="post-metadata">

**Author:** ![chintan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/chintan/32/52_2.png) [@chintan](https://discuss.openedx.org/u/chintan)\
**Post date:** [March 3, 2022, 12:28pm UTC](https://discuss.openedx.org/t/installing-insights-database-migrate-error/2499/14 "2022-03-03T12:28:01Z")

</div>

To any brave soul who comes here wandering.

If you find this error, I suggest skip doing the installation. And use the docker containers available already and change then to production like.

This error is because of various issues.

1. Wrong javah path in /var/tmp/hadoop-VERSION-src/hadoop-common-project/hadoop-common/pom.xml

After that is fixed

1. Missing variables in cmake command in `/var/tmp/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml`  
(I found this website but it’s in chinese, google translate may help [Hadoop 2.7.2ç¼è¯](https://ieevee.com/tech/2016/07/20/hadoop-mvn.html))  
After that is fixed

2. Openssl version, I worked with 1.0.2 and 1.1.0 and I am not sure which worked exactly.

After that is fixed

1. Installation will fail few more times in some other tasks but they are mostly solvable.

Seriously, don’t do this 😑
