I hereby claim:
- I am utkjad on github.
- I am utkjad (https://keybase.io/utkjad) on keybase.
- I have a public key whose fingerprint is 820F B08D B79F A371 5367 CEF0 152D D775 7ACF 6236
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AlternateMouseScroll</key> | |
<true/> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> | |
<key>ApplePressAndHoldEnabled</key> | |
<false/> |
import json | |
import re | |
import base64 | |
import logging | |
import unicodecsv as csv | |
import sys | |
import argparse | |
import ssl | |
import os | |
import random |
def decoratorFunction(func): | |
print "In Decorator Before function call" | |
def _fn(): | |
try: | |
ret = func() | |
return ret | |
except IOError as e: | |
print "I/O error" | |
rollback() | |
except ValueError as e: |
-- unset a subset of the properties and some non-existed properties without if exists | |
ALTER TABLE testTable UNSET TBLPROPERTIES ('c', 'x', 'y', 'z'); | |
Releavnt Link - https://github.com/apache/hive/search?utf8=%E2%9C%93&q=unset&type= |
1.On KDC server login as kadmin. | |
kadmin -p admin/admin@<realm> | |
2. Now create Kerberos User. If the user principal is already created, go to step 3. | |
add_principal -kvno 1 [email protected] | |
3.Modify the user principal. | |
modprinc -maxlife 1days -maxrenewlife 7days +allow_renewable sample | |
Confirm the same by running following command | |
get_principal ingestor |
from pyhive import hive | |
def connect_to_pyhive(): | |
""" Connects to Pyhive with HTTP mode | |
""" | |
conn = hive.connect(thrift_transport=add_http_mode_support()) | |
cursor = conn.cursor() | |
cursor.execute("show databases") | |
print cursor.fetchone() |
I hereby claim:
To claim this, I am signing this object: