Skip to content

Piyush Routray

  • Twitter
  • LinkedIn
  • About Piyush

Author: Piyush

How to copy a file, recreating the directory structure, using python?

To copy “Folder1/Folder2/file1” to “Folder3” source structure: Folder1/FolderA ………………….(not to be copied)Folder1/fileX…………………………(not to be copied)Folder1/Folder2/file1 desired destination structure: Folder3/Folder1/Folder2/file1 P.S. … More

Python, stackoverflow

Copying different S3 bucket folders with space(s) in their names.

s3cmd is an usual and handy tool for dealing with data in S3 from the command line. Usage Doc.For simple … More

AWS S3

Dealing with ‘Blocks with no live replicas’ in the HDFS

In a previous post, we dealt about ‘Under-replicated blocks in the HDFS‘. However, while decommissioning a couple of worker nodes, … More

datanode, hadoop, HDP

How to exclude certain column(s) while exporting a Hive Table to local file?

In a previous post, I documented How to export complete Hive table to a local file? While being required to get … More

hive

How to export complete Hive table to a local file?

Generally, solutions provided over the internet point towards: hive -e ‘select * from dbname.tablename;’ > /path/to/datadump.csv However, this will not … More

hive

How to color code ‘diff’ output on CLI?

TL;DR :  vim -d <file1> <file2> Comparing changes in files from time to time is very much the part and … More

How to change mysql version for ambari connections?

CentOS generally comes with mysql-connector-java-5.1.17.jar. However, there are many known bugs with the same. Hortonworks suggests updating the jar to … More

ambari, HDP

Notes: DevOps Practices

DevOps is the culture of collaboration between Development and Operations. Some essential Devops concepts include: Build Automation (BA) : It … More

DevOps, docker, jenkins, kubernetes

Posts navigation

Older posts
Newer posts

Browse by Category

ambari AWS Firehose AWS S3 centOS 7 cloudera Databricks Data Engineering datanode DevOps docker hadoop HDP hive Hortonworks java jenkins kubernetes OpenJDK OracleJDK PGP PySpark Python s3cmd security Snowflake stackoverflow Windows

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 431 other followers

My Tweets
Create a website or blog at WordPress.com
  • Follow Following
    • Piyush Routray
    • Join 431 other followers
    • Already have a WordPress.com account? Log in now.
    • Piyush Routray
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...