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
When running simple cmd.run command: | |
salt 'hostname' cmd.run 'ls /tmp' | |
hostname: | |
ERROR: Specified cwd '.' either not absolute or does not exist | |
Minion logs shows: | |
2015-02-04 19:21:50,456 [salt.minion ][ERROR ] A command in 'cmd.run' had a problem: Specified cwd '.' either not absolute or does not exist |
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
[DEBUG ] Reading configuration from /etc/salt/master.d/gitfs-repos.conf | |
[DEBUG ] Configuration file path: /etc/salt/master | |
[DEBUG ] Loaded gitfs as virtual git | |
[DEBUG ] Updating fileserver cache | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsops/saltstack-states-top.git | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsdw/audit_framework.git | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsdw/gump_ingest.git | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsdw/pdsdw_core.git | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsdw/pentaho-sfdc-ingest-vertica.git | |
[DEBUG ] Fetching from git+ssh://[email protected]/pdsdw/sales_tool_ingest.git |
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
This used to work on 2014.1.13 but fails on 2015.5.0 and 2015.5.2: | |
state init.sls file content: | |
{% set TEST_SYMLINK = '/opt/test_symlink' %} | |
{% if 0 == salt['cmd.retcode']('test -h '~ TEST_SYMLINK ~' ') %} | |
{{ TEST_SYMLINK }}: | |
file.symlink: | |
- target: /opt/yp |
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
bash-4.1$ sudo -H -u hdfs /bin/sh -c "kinit -p hdfs -k -t ~/.keytab ; beeline -u 'jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/[email protected]' -n hdfs -f /home/t/sentry/conf/sentry_acls.sql" | |
scan complete in 6ms | |
Connecting to jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/[email protected] | |
Error: Could not open client transport with JDBC Uri: jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/[email protected]: Peer indicated failure: GSS initiate failed (state=08S01,code=0) | |
0: jdbc:hive2://hd-sbx-support2.np.wc1.yellow (closed)> CREATE ROLE select_for_all ; | |
No current connection | |
Error: Could not open client transport with JDBC Uri: jdbc:hive2://hd-sbx-support2.np.wc1.yellowpages.com:10000/default;principal=hive/[email protected]: Peer indicated failure: GSS initiate failed (state=08S01,code=0) |
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
# If you are running more than one instances of graylog2-server you have to select one of these | |
# instances as master. The master will perform some periodical tasks that non-masters won't perform. | |
is_master = true | |
# The auto-generated node ID will be stored in this file and read after restarts. It is a good idea | |
# to use an absolute file path here if you are starting graylog2-server from init scripts or similar. | |
node_id_file = /etc/graylog/server/node-id | |
# You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters. | |
# Generate one by using for example: pwgen -N 1 -s 96 |
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
# ======================== Elasticsearch Configuration ========================= | |
# | |
# NOTE: Elasticsearch comes with reasonable defaults for most settings. | |
# Before you set out to tweak and tune the configuration, make sure you | |
# understand what are you trying to accomplish and the consequences. | |
# | |
# The primary way of configuring a node is via this file. This template lists | |
# the most important settings you may want to configure for a production cluster. | |
# | |
# Please see the documentation for further information on configuration options: |
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
# ======================== Elasticsearch Configuration ========================= | |
# | |
# NOTE: Elasticsearch comes with reasonable defaults for most settings. | |
# Before you set out to tweak and tune the configuration, make sure you | |
# understand what are you trying to accomplish and the consequences. | |
# | |
# The primary way of configuring a node is via this file. This template lists | |
# the most important settings you may want to configure for a production cluster. | |
# | |
# Please see the documentation for further information on configuration options: |
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
class AbstractJsonArrayUnnestFactory : public TransformFunctionFactory { | |
public: | |
virtual void getPrototype(Vertica::ServerInterface &, | |
Vertica::ColumnTypes &argTypes, | |
Vertica::ColumnTypes &resTypes) | |
{ | |
//argTypes.addVarchar(); | |
//resTypes.addVarchar(); | |
argTypes.addLongVarchar(); /* Adding long varchar data type */ |
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
{ | |
"ORA_TS": [ | |
[ | |
"Mon Aug 07 16:30:35 2017" | |
] | |
], | |
"DAY": [ | |
[ | |
"Mon" | |
] |
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
# Pillar looks like this: | |
mysql-configuration-settings: | |
global_buffers: | |
key_buffer_size: 8 | |
innodb_log_buffer_size: 8000 | |
innodb_additional_mem_pool_size: 8000 | |
net_buffer_length: 1000 | |
query_cache_size: 1000 | |
OlderNewer