[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-27 Thread interma
Github user interma closed the pull request at:

https://github.com/apache/incubator-hawq/pull/1280


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-27 Thread interma
Github user interma commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/1280#discussion_r135429275
  
--- Diff: src/bin/gpcheckhdfs/gpcheckhdfs.c ---
@@ -6,9 +6,9 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
--- End diff --

thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-22 Thread stanlyxiang
Github user stanlyxiang commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/1280#discussion_r134641796
  
--- Diff: src/bin/gpcheckhdfs/gpcheckhdfs.c ---
@@ -6,9 +6,9 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
--- End diff --

just a reminder, we should not update license header unless there is a 
rat-check failure or necessary changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-14 Thread interma
Github user interma commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/1280#discussion_r133107473
  
--- Diff: src/bin/gpcheckhdfs/gpcheckhdfs.c ---
@@ -110,6 +114,12 @@ int main(int argc, char * argv[]) {
 krb_keytabfile = argv[5];
 }
 
+//get tde key name param
+for (int i = 1; i < argc; i++) {
+if (strcmp(argv[i], "--with-tde") == 0 && i+1 < argc)
+tde_keyname = argv[i+1];
--- End diff --

thanks, I will fix it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-14 Thread amyrazz44
Github user amyrazz44 commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/1280#discussion_r132901535
  
--- Diff: src/bin/gpcheckhdfs/gpcheckhdfs.c ---
@@ -110,6 +114,12 @@ int main(int argc, char * argv[]) {
 krb_keytabfile = argv[5];
 }
 
+//get tde key name param
+for (int i = 1; i < argc; i++) {
+if (strcmp(argv[i], "--with-tde") == 0 && i+1 < argc)
+tde_keyname = argv[i+1];
--- End diff --

Add some comments in code about this will be better.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-14 Thread interma
Github user interma commented on a diff in the pull request:

https://github.com/apache/incubator-hawq/pull/1280#discussion_r132900269
  
--- Diff: src/bin/gpcheckhdfs/gpcheckhdfs.c ---
@@ -110,6 +114,12 @@ int main(int argc, char * argv[]) {
 krb_keytabfile = argv[5];
 }
 
+//get tde key name param
+for (int i = 1; i < argc; i++) {
+if (strcmp(argv[i], "--with-tde") == 0 && i+1 < argc)
+tde_keyname = argv[i+1];
--- End diff --

why not use `argv[6]` as the `tde_keyname`?
because the params before it may be empty...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-hawq pull request #1280: HAWQ-1510. Add TDE-related functionality ...

2017-08-14 Thread interma
GitHub user interma opened a pull request:

https://github.com/apache/incubator-hawq/pull/1280

HAWQ-1510. Add TDE-related functionality into hawq init command



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/interma/interma-hawq HAWQ-1510-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-hawq/pull/1280.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1280


commit d312bea527927b845544e43347e0174c5eec032d
Author: interma 
Date:   2017-08-14T08:30:45Z

HAWQ-1510. Add TDE-related functionality into hawq init command




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---