This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/docker/compose/docker-compose_hadoop284_hive233_spark244.yml b/docker/compose/docker-compose_hadoop284_hive233_spark244.yml | |
| index 3e42d532..8e1bd948 100644 | |
| --- a/docker/compose/docker-compose_hadoop284_hive233_spark244.yml | |
| +++ b/docker/compose/docker-compose_hadoop284_hive233_spark244.yml | |
| @@ -128,7 +128,7 @@ services: | |
| - ${HUDI_WS}:/var/hoodie/ws | |
| sparkmaster: | |
| - image: apachehudi/hudi-hadoop_2.8.4-hive_2.3.3-sparkmaster_2.4.4:latest | |
| + image: localhost:5000/hudi-hadoop_2.8.4-hive_2.3.3-sparkmaster_2.4.4:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FUNCTION LIMIT_API_CALL(ip) | |
| ts = CURRENT_UNIX_TIME() | |
| keyname = ip+":"+ts | |
| current = GET(keyname) | |
| IF current != NULL AND current > 10 THEN | |
| ERROR "too many requests per second" | |
| ELSE | |
| MULTI | |
| INCR(keyname,1) | |
| EXPIRE(keyname,10) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Install, update, and uninstall functions for cbconference module. | |
| */ | |
| /** | |
| * Creating the object type taxonomy terms | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Drupal Coding Standards | |
| ======================= | |
| Git pre commit hook for checking modified files with Drupal Code Sniffer. | |
| To learn more about drupal coding standards, read this article: <https://drupal.org/coding-standards> | |
| ## Requirements | |
| - Coder: <http://drupal.org/project/coder>, we already have this in repo. | |
| - Install PHP Code Sniffer and Drupal Code Sniffer: <http://drupal.org/node/1419988> | |
| - For MAMP users, check the below MAMP requirements. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| # Git precommit hook for validating drupal coding standards. | |
| # | |
| # This script will validate all staged files against the drupal coding | |
| # standards. In order to use this script you need to have the following | |
| # software installed: | |
| # - coder <http://drupal.org/project/coder> | |
| # - PHP CodeSniffer with Drupal standard |