Re: Review Request 49213: Ambari Is Initializing the Metastore Using the Wrong schematool Binary on HDP 2.5

2016-06-24 Thread Nate Cole

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/49213/#review139397
---


Ship it!




Ship It!

- Nate Cole


On June 24, 2016, 3:42 p.m., Jonathan Hurley wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49213/
> ---
> 
> (Updated June 24, 2016, 3:42 p.m.)
> 
> 
> Review request for Ambari and Nate Cole.
> 
> 
> Bugs: AMBARI-17431
> https://issues.apache.org/jira/browse/AMBARI-17431
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> On HDP 2.5 installations, the {{hive-metastore}} component's {{schematool}} 
> is being used to create the schema. This is incorrect in that the {{hive2}} 
> {{schematool}} should be used since it's compatible with Hive LLAP and 
> {{HiveServer2}}.
> 
> {noformat}
> mysql> select * from VERSION;
> +++---+
> | VER_ID | SCHEMA_VERSION | VERSION_COMMENT   |
> +++---+
> |  1 | 1.2.1000   | Hive release version 1.2.1000 |
> +++---+
> 1 row in set (0.00 sec)
> {noformat}
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
>  2afee3b 
> 
> Diff: https://reviews.apache.org/r/49213/diff/
> 
> 
> Testing
> ---
> 
> Deployed an HDP 2.5 stack and verified the schema:
> 
> mysql> select * from VERSION;
> ++++
> | VER_ID | SCHEMA_VERSION | VERSION_COMMENT|
> ++++
> |  1 | 2.1.0  | Hive release version 2.1.0 |
> ++++
> 1 row in set (0.00 sec)
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>



Review Request 49213: Ambari Is Initializing the Metastore Using the Wrong schematool Binary on HDP 2.5

2016-06-24 Thread Jonathan Hurley

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/49213/
---

Review request for Ambari and Nate Cole.


Bugs: AMBARI-17431
https://issues.apache.org/jira/browse/AMBARI-17431


Repository: ambari


Description
---

On HDP 2.5 installations, the {{hive-metastore}} component's {{schematool}} is 
being used to create the schema. This is incorrect in that the {{hive2}} 
{{schematool}} should be used since it's compatible with Hive LLAP and 
{{HiveServer2}}.

{noformat}
mysql> select * from VERSION;
+++---+
| VER_ID | SCHEMA_VERSION | VERSION_COMMENT   |
+++---+
|  1 | 1.2.1000   | Hive release version 1.2.1000 |
+++---+
1 row in set (0.00 sec)
{noformat}


Diffs
-

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 2afee3b 

Diff: https://reviews.apache.org/r/49213/diff/


Testing
---

Deployed an HDP 2.5 stack and verified the schema:

mysql> select * from VERSION;
++++
| VER_ID | SCHEMA_VERSION | VERSION_COMMENT|
++++
|  1 | 2.1.0  | Hive release version 2.1.0 |
++++
1 row in set (0.00 sec)


Thanks,

Jonathan Hurley