You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Zsombor Gegesy <gz...@gmail.com> on 2016/12/21 14:20:21 UTC
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/
-----------------------------------------------------------
(Updated Dec. 21, 2016, 2:20 p.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
Summary (updated)
-----------------
RANGER-1262: Setting up database on MacOS is not working
Bugs: RANGER-1262
https://issues.apache.org/jira/browse/RANGER-1262
Repository: ranger
Description
-------
Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
Diffs
-----
security-admin/scripts/db_setup.py bb51cc7
security-admin/scripts/dba_script.py 1b29c75
Diff: https://reviews.apache.org/r/54893/diff/
Testing
-------
Thanks,
Zsombor Gegesy
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Pradeep Agrawal <pr...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review163126
-----------------------------------------------------------
Tested patch and its working fine.
- Pradeep Agrawal
On Jan. 25, 2017, 10:58 a.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Jan. 25, 2017, 10:58 a.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py 3127c52
> kms/scripts/dba_script.py c72b4c6
> security-admin/scripts/db_setup.py c1b9f72
> security-admin/scripts/dba_script.py e5a1f59
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review163278
-----------------------------------------------------------
Ship it!
Ship It!
- Velmurugan Periasamy
On Jan. 25, 2017, 10:58 a.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Jan. 25, 2017, 10:58 a.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py 3127c52
> kms/scripts/dba_script.py c72b4c6
> security-admin/scripts/db_setup.py c1b9f72
> security-admin/scripts/dba_script.py e5a1f59
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Zsombor Gegesy <gz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/
-----------------------------------------------------------
(Updated Jan. 25, 2017, 10:58 a.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
Changes
-------
Updated patch
Bugs: RANGER-1262
https://issues.apache.org/jira/browse/RANGER-1262
Repository: ranger
Description
-------
Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
Diffs (updated)
-----
kms/scripts/db_setup.py 3127c52
kms/scripts/dba_script.py c72b4c6
security-admin/scripts/db_setup.py c1b9f72
security-admin/scripts/dba_script.py e5a1f59
Diff: https://reviews.apache.org/r/54893/diff/
Testing
-------
Thanks,
Zsombor Gegesy
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Pradeep Agrawal <pr...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review162595
-----------------------------------------------------------
Seems patch not applying after my patch commit https://github.com/apache/incubator-ranger/commit/2aca79045ea8892c569319ed552bc4157a9e58a9. If possible please add the updated patch.
- Pradeep Agrawal
On Jan. 6, 2017, 8:28 a.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Jan. 6, 2017, 8:28 a.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py f1342fd
> kms/scripts/dba_script.py 4366743
> security-admin/scripts/db_setup.py 430aa47
> security-admin/scripts/dba_script.py 1b29c75
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Zsombor Gegesy <gz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/
-----------------------------------------------------------
(Updated Jan. 6, 2017, 8:28 a.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
Changes
-------
Change only the kms and security admin db creation/migration code
Bugs: RANGER-1262
https://issues.apache.org/jira/browse/RANGER-1262
Repository: ranger
Description
-------
Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
Diffs (updated)
-----
kms/scripts/db_setup.py f1342fd
kms/scripts/dba_script.py 4366743
security-admin/scripts/db_setup.py 430aa47
security-admin/scripts/dba_script.py 1b29c75
Diff: https://reviews.apache.org/r/54893/diff/
Testing
-------
Thanks,
Zsombor Gegesy
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Pradeep Agrawal <pr...@freestoneinfotech.com>.
> On Jan. 2, 2017, 5:50 p.m., Don Bosco Durai wrote:
> > Thanks, I was now able to apply the patch. I have not run it though. Pradeep, do you want to give a try at this? Thanks
>
> Pradeep Agrawal wrote:
> =>Tested patch and its working fine for below mentioned files :
> kms/scripts/db_setup.py
> kms/scripts/dba_script.py
> security-admin/scripts/db_setup.py
> security-admin/scripts/dba_script.py
>
> =>Below mentioned files are not working and will not work as setup.sh of respective module need to be executed first.
> security-admin/scripts/changepasswordutil.py
> tagsync/scripts/updatetagadminpassword.py
> security-admin/scripts/restrict_permissions.py
>
> Zsombor Gegesy wrote:
> What's your suggestions? Should I drop the changes from that 3 files? Or can it be merged?
Yes, let's drop those changes for now.
- Pradeep
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160333
-----------------------------------------------------------
On Dec. 28, 2016, 9:37 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 28, 2016, 9:37 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py f1342fd
> kms/scripts/dba_script.py 4366743
> security-admin/scripts/changepasswordutil.py 3086962
> security-admin/scripts/db_setup.py 7cd1ef0
> security-admin/scripts/dba_script.py 1b29c75
> security-admin/scripts/restrict_permissions.py a4998be
> tagsync/scripts/updatetagadminpassword.py 2c89e83
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Zsombor Gegesy <gz...@gmail.com>.
> On Jan. 2, 2017, 5:50 p.m., Don Bosco Durai wrote:
> > Thanks, I was now able to apply the patch. I have not run it though. Pradeep, do you want to give a try at this? Thanks
>
> Pradeep Agrawal wrote:
> =>Tested patch and its working fine for below mentioned files :
> kms/scripts/db_setup.py
> kms/scripts/dba_script.py
> security-admin/scripts/db_setup.py
> security-admin/scripts/dba_script.py
>
> =>Below mentioned files are not working and will not work as setup.sh of respective module need to be executed first.
> security-admin/scripts/changepasswordutil.py
> tagsync/scripts/updatetagadminpassword.py
> security-admin/scripts/restrict_permissions.py
What's your suggestions? Should I drop the changes from that 3 files? Or can it be merged?
- Zsombor
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160333
-----------------------------------------------------------
On Dec. 28, 2016, 9:37 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 28, 2016, 9:37 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py f1342fd
> kms/scripts/dba_script.py 4366743
> security-admin/scripts/changepasswordutil.py 3086962
> security-admin/scripts/db_setup.py 7cd1ef0
> security-admin/scripts/dba_script.py 1b29c75
> security-admin/scripts/restrict_permissions.py a4998be
> tagsync/scripts/updatetagadminpassword.py 2c89e83
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Pradeep Agrawal <pr...@freestoneinfotech.com>.
> On Jan. 2, 2017, 5:50 p.m., Don Bosco Durai wrote:
> > Thanks, I was now able to apply the patch. I have not run it though. Pradeep, do you want to give a try at this? Thanks
=>Tested patch and its working fine for below mentioned files :
kms/scripts/db_setup.py
kms/scripts/dba_script.py
security-admin/scripts/db_setup.py
security-admin/scripts/dba_script.py
=>Below mentioned files are not working and will not work as setup.sh of respective module need to be executed first.
security-admin/scripts/changepasswordutil.py
tagsync/scripts/updatetagadminpassword.py
security-admin/scripts/restrict_permissions.py
- Pradeep
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160333
-----------------------------------------------------------
On Dec. 28, 2016, 9:37 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 28, 2016, 9:37 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py f1342fd
> kms/scripts/dba_script.py 4366743
> security-admin/scripts/changepasswordutil.py 3086962
> security-admin/scripts/db_setup.py 7cd1ef0
> security-admin/scripts/dba_script.py 1b29c75
> security-admin/scripts/restrict_permissions.py a4998be
> tagsync/scripts/updatetagadminpassword.py 2c89e83
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Don Bosco Durai <bo...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160333
-----------------------------------------------------------
Thanks, I was now able to apply the patch. I have not run it though. Pradeep, do you want to give a try at this? Thanks
- Don Bosco Durai
On Dec. 28, 2016, 9:37 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 28, 2016, 9:37 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> kms/scripts/db_setup.py f1342fd
> kms/scripts/dba_script.py 4366743
> security-admin/scripts/changepasswordutil.py 3086962
> security-admin/scripts/db_setup.py 7cd1ef0
> security-admin/scripts/dba_script.py 1b29c75
> security-admin/scripts/restrict_permissions.py a4998be
> tagsync/scripts/updatetagadminpassword.py 2c89e83
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Zsombor Gegesy <gz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/
-----------------------------------------------------------
(Updated Dec. 28, 2016, 9:37 p.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
Changes
-------
A bunch of tabs converted to space recently, that was the cause for the failure to apply the patch cleanly.
Other python scripts are fixed also
Bugs: RANGER-1262
https://issues.apache.org/jira/browse/RANGER-1262
Repository: ranger
Description
-------
Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
Diffs (updated)
-----
kms/scripts/db_setup.py f1342fd
kms/scripts/dba_script.py 4366743
security-admin/scripts/changepasswordutil.py 3086962
security-admin/scripts/db_setup.py 7cd1ef0
security-admin/scripts/dba_script.py 1b29c75
security-admin/scripts/restrict_permissions.py a4998be
tagsync/scripts/updatetagadminpassword.py 2c89e83
Diff: https://reviews.apache.org/r/54893/diff/
Testing
-------
Thanks,
Zsombor Gegesy
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Don Bosco Durai <bo...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160194
-----------------------------------------------------------
Looks good as such. It might be good if Pradeep reviews this code and gives the Ship It. He is more familiar with this code.
- Don Bosco Durai
On Dec. 21, 2016, 2:20 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 21, 2016, 2:20 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> security-admin/scripts/db_setup.py bb51cc7
> security-admin/scripts/dba_script.py 1b29c75
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>
Re: Review Request 54893: RANGER-1262: Setting up database on MacOS
is not working
Posted by Pradeep Agrawal <pr...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54893/#review160215
-----------------------------------------------------------
@Zsombor Gegesy : Patch not applying for me. Also please make sure ranger-usersync and ranger-kms module scripts can be executed in MacOS.
- Pradeep Agrawal
On Dec. 21, 2016, 2:20 p.m., Zsombor Gegesy wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54893/
> -----------------------------------------------------------
>
> (Updated Dec. 21, 2016, 2:20 p.m.)
>
>
> Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1262
> https://issues.apache.org/jira/browse/RANGER-1262
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Setting up database on MacOS is not working, because the db creation/migration script contains Linux and Windows specific code
>
>
> Diffs
> -----
>
> security-admin/scripts/db_setup.py bb51cc7
> security-admin/scripts/dba_script.py 1b29c75
>
> Diff: https://reviews.apache.org/r/54893/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Zsombor Gegesy
>
>