<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Deepesh Tripathi on Medium]]></title>
        <description><![CDATA[Stories by Deepesh Tripathi on Medium]]></description>
        <link>https://medium.com/@deepeshtripathi?source=rss-d52666fbdeb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Ip0tCxSHHvl-ALe4.</url>
            <title>Stories by Deepesh Tripathi on Medium</title>
            <link>https://medium.com/@deepeshtripathi?source=rss-d52666fbdeb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:16:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deepeshtripathi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data Literacy: The Essential Skill for the For Data Engineers in 2023.]]></title>
            <link>https://medium.com/@deepeshtripathi/data-literacy-the-essential-skill-for-the-for-data-engineers-in-2023-4fb7e96bd732?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fb7e96bd732</guid>
            <category><![CDATA[data-literacy]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-management]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Tue, 27 Jun 2023 20:16:03 GMT</pubDate>
            <atom:updated>2023-06-27T20:16:03.373Z</atom:updated>
            <content:encoded><![CDATA[<p>Data Literacy: The Essential Skill for the For Data Engineers in 2023.</p><p>As an experienced data engineer, you are already familiar with the basics of data engineering. You know how to collect, store, and process data. However, data literacy is an essential skill for data engineers that goes beyond the basics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*kWX1vcz-xTjWQ4D3hdZMMw.png" /><figcaption>pic credit -<a href="https://www.dataliteracy.uni-jena.de/en/what-is-data-literacy">https://www.dataliteracy.uni-jena.de/en/what-is-data-literacy</a></figcaption></figure><p>Data literacy is the ability to understand and use data effectively. It includes the ability to:</p><ul><li>Understand the context of data, including its sources, formats, and limitations.</li><li>Ask questions about data to assess its quality and validity.</li><li>Use statistical methods to analyze data and draw inferences.</li><li>Communicate the results of data analysis to stakeholders in a clear and concise way.</li></ul><p>Data literacy is becoming increasingly important for data engineers as businesses rely more and more on data to make decisions. Data-literate data engineers are able to help businesses make better decisions by providing them with insights from data.</p><p>Here is an example of how you can get data literacy with an example:</p><p>Let’s say you are working for a telecom company and you are interested in understanding customer churn. You could start by collecting data on customer churn, such as the number of customers who have churned in the past year, the reasons why they churned, and their demographics.</p><p>Once you have collected the data, you could use a tool like Excel or a statistical software package to analyze the data. You could look for patterns in the data, such as which demographics are more likely to churn or which reasons for churning are more common.</p><p>You could also use data visualization tools to create visualizations of the data. This could help you to identify trends in the data that you might not have been able to see otherwise.</p><p>Once you have analyzed the data, you could use the insights you have gained to make recommendations to the company on how to reduce customer churn. For example, you could recommend that the company target marketing campaigns at customers who are more likely to churn or that the company implement a new customer retention program.</p><p>Here is an example of a sample data and how to explain it in detail:</p><pre>customer_id, name, age, gender, tenure, monthly_charges, contract_type<br>1, John Doe, 30, Male, 12, 50, Month-to-month<br>2, Jane Doe, 25, Female, 6, 75, One-year<br>3, Peter Smith, 40, Male, 24, 100, Two-year<br>4, Mary Jones, 35, Female, 18, 85, Month-to-month<br>5, David Brown, 20, Male, 4, 60, One-year</pre><p>The sample data contains information about 5 customers, including their customer ID, name, age, gender, tenure, monthly charges, and contract type.</p><ul><li>Customer ID: This is a unique identifier for each customer.</li><li>Name: This is the customer’s name.</li><li>Age: This is the customer’s age.</li><li>Gender: This is the customer’s gender.</li><li>Tenure: This is the length of time the customer has been a customer.</li><li>Monthly charges: This is the amount of money the customer pays each month for their service.</li><li>Contract type: This is the type of contract the customer has with the company.</li></ul><p>We can use this data to analyze customer churn, customer lifetime value, and other metrics. For example, we could look at the average monthly charges for customers who have churned versus customers who have not churned. This could help us to identify factors that are associated with customer churn.</p><p>We could also look at the average customer lifetime value for different contract types. This could help us to determine which contract type is most profitable for the company.</p><p>Data visualization tools can be used to create visualizations of the data. This could help us to identify trends in the data that we might not have been able to see otherwise. For example, we could create a bar chart to show the average monthly charges for customers who have churned versus customers who have not churned.</p><p>The results of our analysis can be communicated to stakeholders in a clear and concise way. This could include creating presentations, reports, or blog posts.</p><p>By following these steps, we can gain insights from data and use them to make recommendations to the company.</p><p>I hope this blog post has given you some insights into data literacy and how you can improve your data literacy skills. If you have any questions, please feel free to leave a comment below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fb7e96bd732" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking the Chains of History: Embracing Fresh Perspectives in Leadership]]></title>
            <link>https://medium.com/@deepeshtripathi/breaking-the-chains-of-history-embracing-fresh-perspectives-in-leadership-b170a77c41b2?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b170a77c41b2</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[transformation]]></category>
            <category><![CDATA[belief]]></category>
            <category><![CDATA[leadership-development]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Sat, 24 Jun 2023 13:36:36 GMT</pubDate>
            <atom:updated>2023-06-24T13:36:36.511Z</atom:updated>
            <content:encoded><![CDATA[<p>Leadership is a multifaceted concept that is shaped by a variety of factors, including personal experiences, upbringing, and belief systems. Our childhood plays a significant role in shaping our belief systems and thought processes, which in turn influence our leadership styles. It is essential to recognize the impact of our past and understand how it influences our present leadership approach. However, to truly grow as leaders, we must break free from the limitations imposed by our history and embrace a mindset that allows for new possibilities and fresh perspectives. In this blog, we will explore the influence of childhood experiences on leadership styles and discuss the importance of reassessing situations with an open and unbiased mind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BvCedWmgIu88RK9aHeDFRA.png" /><figcaption>pic credit -<a href="https://emeritus.org/">https://emeritus.org/</a></figcaption></figure><p>The Influence of Childhood:<br>Our childhood experiences, including the dynamics within our families, often leave a lasting impression on our belief systems. For example, if we were raised in an environment where authority figures used fear or coercion to get things done, we may adopt a similar leadership style. Conversely, if our upbringing emphasized collaboration, empathy, and open communication, we are more likely to exhibit these qualities in our leadership roles. It is crucial to reflect on our early experiences to gain insight into our default leadership tendencies.</p><p>Attracting Complementary Mentors:<br>As we progress in our leadership journeys, we naturally seek guidance and mentorship from those who align with our existing belief systems. This is because our minds are inclined to find confirmation and validation for our pre-existing ideas. Therefore, we are more likely to attract mentors who reinforce our current approach to leadership. While mentorship is valuable, it is important to be aware of this bias and actively seek mentors who challenge our thinking and introduce us to alternative perspectives. By doing so, we can broaden our horizons and develop a more well-rounded leadership style.</p><p>The Role of Knowledge:<br>In a similar vein, the knowledge we acquire tends to be influenced by our existing belief systems. We are drawn to information that aligns with our preconceived notions, which can create an echo chamber effect. To overcome this limitation, we must actively seek out diverse viewpoints, question our assumptions, and engage with ideas that challenge our existing understanding. Only by embracing a growth mindset and continuously expanding our knowledge can we break free from the constraints of our limited perspectives.</p><p>The Power of Freshness and Possibility:<br>To evolve as leaders, we must approach each situation with a fresh and open mind. It is easy to rely on historical events and past experiences as a reference point, but this can limit our ability to see new possibilities and unique solutions. By letting go of fixed beliefs and embracing a mindset of curiosity and exploration, we create space for innovation and growth. Every situation presents an opportunity for fresh insights and alternative approaches, and it is our responsibility as leaders to recognize and seize them.</p><p>Conclusion:<br>Our childhood experiences undeniably shape our leadership styles and belief systems. However, by acknowledging the influence of our past and consciously challenging our existing perspectives, we can transcend the limitations they impose. True leadership growth requires a commitment to continuous learning, seeking diverse perspectives, and approaching each situation with a fresh and open mind. By embracing the power of new possibilities, we can unleash our full potential as leaders and create transformative change in our organizations and communities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b170a77c41b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Impedance Mismatch in Databases: Bridging the Gap with ORM]]></title>
            <link>https://medium.com/@deepeshtripathi/demystifying-impedance-mismatch-in-databases-bridging-the-gap-with-orm-27a47e57e1f4?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/27a47e57e1f4</guid>
            <category><![CDATA[hibernate]]></category>
            <category><![CDATA[rdbms]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[nosql]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 19:17:03 GMT</pubDate>
            <atom:updated>2023-06-19T19:17:03.957Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction:<br>In the world of databases, a concept called “impedance mismatch” can cause confusion. But fear not! Whether you’re new to databases or a data engineer seeking clarity, this blog will unravel the mysteries of impedance mismatch and introduce you to a powerful solution: Hibernate. Join us on a journey to understand this concept using simple language and practical examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*Lh2rby8pTjdaBk4zdolAqA.png" /><figcaption>image source:<a href="https://www.finance-monthly.com/">https://www.finance-monthly.com/</a></figcaption></figure><p>Impedance Mismatch Explained:<br>Imagine you have a box of colorful building blocks and a picture of a castle you want to build. The blocks represent data stored in a database, and the castle represents how you want to work with that data in your program. An impedance mismatch occurs when the way the blocks are organized doesn’t perfectly match the castle’s blueprint. It’s like having rectangular blocks when you need triangular ones to construct the castle as planned.</p><p>Impedance Mismatch Unveiled (For a Data Engineer):<br>As a data engineer, impedance mismatch is a challenge you often face when working with relational databases. Relational Database Management Systems (RDBMS) store data in tables and rows, which may not align perfectly with the object-oriented approach we prefer in our programs. We want to work with objects that have attributes and behaviors, but the database provides us with tables and rows.</p><p>Enter Hibernate: Bridging the Gap with Ease:<br>Hibernate, an Object-Relational Mapping (ORM) framework, acts as a bridge between the database and our programs, allowing us to work with objects instead of dealing with raw data. Hibernate maps the tables and rows from the database to objects with properties and methods, making it easier for us to interact with the data.</p><p>Java Example: Let’s Bring Books to Life!<br>To illustrate how Hibernate solves the impedance mismatch, let’s consider a library scenario. We want to store book details in a database and work with them as objects in our Java program. Hibernate helps us achieve this seamlessly.</p><p>We define a Book class that represents the books in our library. Using Hibernate annotations, we map the class attributes to the corresponding columns in the database table. For example, the title of the book corresponds to the “title” column in the database.</p><p>Here’s a Java code snippet that demonstrates using Hibernate to retrieve book data as objects:</p><pre>import org.hibernate.Session;<br>import org.hibernate.SessionFactory;<br>import org.hibernate.cfg.Configuration;<br>import java.util.List;<br><br>public class Main {<br>    public static void main(String[] args) {<br>        SessionFactory sessionFactory = new Configuration()<br>                .configure(&quot;hibernate.cfg.xml&quot;)<br>                .buildSessionFactory();<br>        Session session = sessionFactory.openSession();<br><br>        // Query the database to get all books<br>        List&lt;Book&gt; books = session.createQuery(&quot;FROM Book&quot;, Book.class).getResultList();<br><br>        // Accessing book attributes<br>        for (Book book : books) {<br>            System.out.println(&quot;Title: &quot; + book.getTitle());<br>            System.out.println(&quot;Author: &quot; + book.getAuthor());<br>            System.out.println(&quot;Publication Year: &quot; + book.getPublicationYear());<br>            System.out.println(&quot;--------------&quot;);<br>        }<br><br>        session.close();<br>        sessionFactory.close();<br>    }<br>}</pre><p>Hibernate solves the problem of impedance mismatch between object-oriented programming languages like Java and relational databases. Without Hibernate or any other ORM framework, developers would have to manually write code to handle the mapping between objects and database tables. Let’s delve into the details of the problem and the consequences of not using ORM.</p><p>1. Manual Object-Relational Mapping:<br>When working with a relational database, developers need to write SQL queries to retrieve, insert, update, and delete data. Without an ORM framework, they would also have to manually transform the result sets from these queries into objects that can be used in their Java code. This process involves mapping columns to object properties and writing code to handle the conversions. As the application grows and the number of tables and relationships increases, this manual mapping becomes complex, time-consuming, and error-prone.</p><p>2. Tedious Data Access Layer:<br>Without ORM, developers would need to write extensive boilerplate code in their data access layer to handle CRUD (Create, Read, Update, Delete) operations. This code would include SQL queries, the result set parsing and object mapping logic. As a result, the data access layer becomes tightly coupled with the database schema, making it difficult to change the underlying database structure or switch to a different database vendor.</p><p>3. Lack of Object-Oriented Paradigm:<br>Relational databases store data in tables, rows, and columns, which is a fundamentally different paradigm from the object-oriented programming model. When working directly with a database, developers would need to write code to manage the object-oriented aspects of their application, such as inheritance, polymorphism, and associations. This leads to a mismatch between the object-oriented design of the application and the relational structure of the database, making the codebase less maintainable and harder to understand.</p><p>4. Performance Overhead:<br>Handling the mapping manually can result in inefficient database queries and excessive database calls. Without an ORM framework, developers would need to carefully optimize the SQL queries and ensure that the data retrieval process is as efficient as possible. This requires a deep understanding of database internals and query optimization techniques. With ORM frameworks like Hibernate, the framework itself takes care of generating efficient queries and optimizing the data access process, resulting in improved performance.</p><p>In summary, without using an ORM framework like Hibernate, developers would have to deal with the complexities of manually mapping objects to database tables, writing extensive data access code, managing the impedance mismatch between the object-oriented model and the relational database structure, and optimizing database queries for performance.</p><p>Hibernate simplifies these tasks by automating the object-relational mapping process, providing a convenient API for data access, enabling the use of object-oriented principles, and optimizing database operations. It allows developers to focus more on the business logic of their applications rather than getting bogged down in low-level database interactions.</p><p>Let’s consider an example where we have a Java application for managing a library. We need to store information about books in a relational database and perform CRUD operations on them.</p><p>Without using Hibernate or any other ORM framework, we would have to manually handle the object-relational mapping and database interactions. Here’s how the code might look:</p><pre>import java.sql.*;<br>import java.util.ArrayList;<br>import java.util.List;<br><br>public class BookDAO {<br>    private Connection connection;<br><br>    public BookDAO() {<br>        // Establish a database connection<br>        connection = DriverManager.getConnection(&quot;jdbc:mysql://localhost/library&quot;, &quot;username&quot;, &quot;password&quot;);<br>    }<br><br>    public List&lt;Book&gt; getAllBooks() throws SQLException {<br>        List&lt;Book&gt; books = new ArrayList&lt;&gt;();<br><br>        // Execute SQL query to retrieve all books<br>        String query = &quot;SELECT * FROM books&quot;;<br>        Statement statement = connection.createStatement();<br>        ResultSet resultSet = statement.executeQuery(query);<br><br>        // Iterate over the result set and manually map to Book objects<br>        while (resultSet.next()) {<br>            int id = resultSet.getInt(&quot;id&quot;);<br>            String title = resultSet.getString(&quot;title&quot;);<br>            String author = resultSet.getString(&quot;author&quot;);<br>            int publicationYear = resultSet.getInt(&quot;publication_year&quot;);<br><br>            Book book = new Book(id, title, author, publicationYear);<br>            books.add(book);<br>        }<br><br>        // Close resources<br>        resultSet.close();<br>        statement.close();<br><br>        return books;<br>    }<br><br>    public void addBook(Book book) throws SQLException {<br>        // Execute SQL query to insert a book<br>        String query = &quot;INSERT INTO books (title, author, publication_year) VALUES (?, ?, ?)&quot;;<br>        PreparedStatement statement = connection.prepareStatement(query);<br>        statement.setString(1, book.getTitle());<br>        statement.setString(2, book.getAuthor());<br>        statement.setInt(3, book.getPublicationYear());<br>        statement.executeUpdate();<br><br>        // Close resources<br>        statement.close();<br>    }<br><br>    // Similar methods for updateBook() and deleteBook()<br><br>    public void closeConnection() throws SQLException {<br>        // Close the database connection<br>        connection.close();<br>    }<br>}</pre><p>As you can see, without an ORM framework, we have to manually write SQL queries, handle result sets, and map the data to Book objects. This requires extra code for each CRUD operation and increases the complexity of the data access layer.</p><p>Now, let’s see how the same functionality can be achieved using Hibernate:</p><pre>import javax.persistence.*;<br><br>@Entity<br>@Table(name = &quot;books&quot;)<br>public class Book {<br>    @Id<br>    @GeneratedValue(strategy = GenerationType.IDENTITY)<br>    private int id;<br><br>    private String title;<br>    private String author;<br>    private int publicationYear;<br><br>    // Constructors, getters, and setters<br><br>    // Additional methods for updateBook() and deleteBook()<br>}</pre><pre>import org.hibernate.Session;<br>import org.hibernate.SessionFactory;<br>import org.hibernate.cfg.Configuration;<br>import java.util.List;<br><br>public class BookDAO {<br>    private SessionFactory sessionFactory;<br><br>    public BookDAO() {<br>        // Create the Hibernate session factory<br>        sessionFactory = new Configuration().configure(&quot;hibernate.cfg.xml&quot;).buildSessionFactory();<br>    }<br><br>    public List&lt;Book&gt; getAllBooks() {<br>        Session session = sessionFactory.openSession();<br>        List&lt;Book&gt; books = session.createQuery(&quot;FROM Book&quot;, Book.class).getResultList();<br>        session.close();<br>        return books;<br>    }<br><br>    public void addBook(Book book) {<br>        Session session = sessionFactory.openSession();<br>        session.beginTransaction();<br>        session.save(book);<br>        session.getTransaction().commit();<br>        session.close();<br>    }<br><br>    // Similar methods for updateBook() and deleteBook()<br><br>    public void closeSessionFactory() {<br>        // Close the Hibernate session factory<br>        sessionFactory.close();<br>    }<br>}</pre><p>Conclusion:<br>Impedance mismatch is a common challenge when working with databases. However, Hibernate comes to the rescue by providing a powerful ORM solution. It allows us to bridge the gap between the relational database and our object-oriented programs seamlessly. By mapping database tables to objects, Hibernate enables us to work with data in a more intuitive and efficient manner.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27a47e57e1f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Block Size in HDFS: Implications and Solutions for Improved Performance]]></title>
            <link>https://medium.com/@deepeshtripathi/understanding-block-size-in-hdfs-implications-and-solutions-for-improved-performance-dcb863a309aa?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcb863a309aa</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[hdfs]]></category>
            <category><![CDATA[performance-management]]></category>
            <category><![CDATA[spark]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 11:34:24 GMT</pubDate>
            <atom:updated>2023-06-19T11:34:24.623Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction:<br>If you’re a data engineer or an intermediate-level Hadoop user, understanding the importance of block size in Hadoop Distributed File System (HDFS) is crucial for optimizing your big data processing environment. In this blog, we will explore the implications of block size and discuss solutions to improve the performance of your HDFS cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JKa-hoIHZJ6B5zokdwN1LQ.png" /><figcaption>Image credit: Freepik image</figcaption></figure><p>1. Why Block Size Matters:<br>As you work with HDFS, the block size, which determines how files are divided for distributed storage, plays a significant role. Let’s understand why block size matters to your HDFS environment:</p><p>- Efficient Data Management: Larger block sizes reduce metadata overhead, making it easier for the NameNode to manage the file system’s metadata. This improves performance and scalability.</p><p>- Throughput Optimization: With larger block sizes, you can efficiently stream data during reads and writes, reducing data transfer time. This maximizes overall throughput and minimizes disk seeks and network transfers.</p><p>- Data Locality: HDFS aims to store data blocks on the same nodes where computation occurs. Larger block sizes increase the likelihood of having required data stored locally, reducing network traffic and improving performance.</p><p>2. Challenges of Smaller Block Size:<br>Although smaller block sizes might seem advantageous in certain cases, they can introduce challenges that impact HDFS performance:</p><p>- Increased Metadata Overhead: Smaller block sizes result in more blocks, increasing the metadata overhead on the NameNode. This can strain memory capacity and impact NameNode performance.</p><p>- Decreased Throughput: Smaller block sizes require more frequent disk seeks and network transfers, reducing overall throughput due to increased overhead.</p><p>- Reduced Data Locality: With smaller blocks, the chances of having required data stored locally on the same node decrease, leading to increased network traffic and reduced performance.</p><p>3. Solutions to Optimize Performance:<br>To overcome the challenges associated with smaller block sizes, consider implementing the following solutions:</p><p>- Adjust NameNode Memory: Allocate more memory to the NameNode by modifying heap size parameters. This enables the NameNode to handle increased metadata efficiently.</p><p>- Implement NameNode High Availability (HA): Distribute the metadata load across multiple active NameNodes to enhance responsiveness and scalability.</p><p>- Enable Block Manager Improvements: Leverage HDFS’s block management enhancements, such as the BlockManager distributed in-memory block mapping, to reduce the processing load on the NameNode.</p><p>- Optimize Journaling and Checkpointing: Fine-tune the frequency of journaling and checkpointing operations to balance metadata durability and NameNode performance. Consider enabling incremental checkpointing for faster operations.</p><p>Conclusion:<br>To optimize your HDFS cluster’s performance, it is vital to understand the impact of block size. While larger block sizes offer benefits in terms of efficient data management, throughput optimization, and data locality, smaller block sizes present challenges related to metadata overhead, throughput, and data locality.</p><p>By implementing solutions such as adjusting NameNode memory, enabling block manager improvements, and optimizing journaling and checkpointing, you can address these challenges and enhance your HDFS cluster’s performance.</p><p>Remember to align the block size with your specific workload characteristics and regularly monitor the NameNode’s performance and resource utilization. This ensures you identify any bottlenecks and make informed decisions to optimize your HDFS system.</p><p>Whether you’re involved in big data analytics or managing large-scale data processing, optimizing your HDFS block size is a crucial step toward unlocking the full potential of your Hadoop cluster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcb863a309aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debunking the Myth of Always Saying Yes: Balancing Agility and Workload in Software Development.]]></title>
            <link>https://medium.com/@deepeshtripathi/debunking-the-myth-of-always-saying-yes-balancing-agility-and-workload-in-software-development-de7f42d4c5bc?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/de7f42d4c5bc</guid>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Wed, 10 May 2023 12:16:12 GMT</pubDate>
            <atom:updated>2023-05-10T12:19:32.833Z</atom:updated>
            <content:encoded><![CDATA[<p>Debunking the Myth of Always Saying Yes: Balancing Agility and Workload in Software Development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/271/1*ULW2By_ESe98CAhq6aCQjQ.jpeg" /><figcaption>Agility</figcaption></figure><p>Suppose , as a software developer, you’re currently working on a major development project for a client. Your team is completely booked with tasks, and you don’t have any available bandwidth. However, the client has asked you to add a new feature to the software product in parallel with your current work or asked for a parallel architecutre review of old deliverables.</p><p>When you explain that you don’t have the bandwidth to take on the additional work, the client sarcastically asks if you’ve lost your agility as a vendor. What should you do or how your response should be like?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/223/1*Wxwqi1T4yRWOUK4jjCmSqw.jpeg" /></figure><p>The main problem with the client’s request is that they are expecting you to work on an unlimited number of tasks simultaneously, nothing new right ?Simultaneously, there are some myths around agility, which turns out to be always saying yes to client.</p><p>On contrary to your client’s view,agile methodologies prioritize delivering high-quality working software in a timely and efficient manner. which requires a balanced workload and a focus on the highest-priority tasks. Agile development teams are expected to manage their resources effectively, and to prioritize the most important work.</p><p>According to the Agile Manifesto, agile software development values “individuals and interactions over processes and tools, working software over comprehensive documentation, customer collaboration over contract negotiation, and responding to change over following a plan.” These principles emphasize the importance of flexibility, collaboration, and responsiveness to changing requirements and priorities.</p><p>One common myth about agility in people is that it means always being available and willing to take on any task, regardless of how it impacts workload or priorities. However, this approach can lead to burnout and reduced quality in the software products being developed. It’s important for development teams to prioritize the most important work and to manage their workload effectively to ensure that they can deliver high-quality products on time.</p><p>So, what can you do in this situation? It’s reasonable to explain to the client that you don’t have the bandwidth to take on additional work until you have completed your current tasks.</p><p>You can also explain that adding a new feature can be an important part of software development, but it needs to be carefully planned and scheduled to ensure that it can be completed effectively without compromising other important development tasks.</p><p>One industry best practice for managing workload is to use a Kanban board to visualize the current state of development tasks and to help prioritize work based on the most important tasks. This approach helps to balance priorities and manage resources effectively, while still allowing for important feature development work to be completed.</p><p>In conclusion, agility in software development is about balancing priorities and managing resources effectively to deliver high-quality software products in a timely manner. While it’s important to be responsive to client requests and open to exploring new ideas and technologies, it’s equally important to maintain a focus on the most important development tasks and manage workload effectively to avoid burnout and maintain high-quality results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de7f42d4c5bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Surprising Technique That Can Help You Get More Done in Less Time]]></title>
            <link>https://medium.com/@deepeshtripathi/the-surprising-technique-that-can-help-you-get-more-done-in-less-time-78fad179b4d8?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/78fad179b4d8</guid>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[time]]></category>
            <category><![CDATA[management]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Sun, 07 May 2023 10:39:19 GMT</pubDate>
            <atom:updated>2023-05-07T10:39:19.073Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you tired of feeling like you’re not making the most of your time? Do you find yourself constantly distracted and struggling to focus on important tasks? If you’re curious about how you can improve your productivity and time management skills, the Pomodoro Technique might be just what you need!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/0*O902vbFro_XupubR.jpg" /><figcaption>Deepesh Tripathi , Pic by Shutterstock</figcaption></figure><p>Developed in the 1980s by Francesco Cirillo, the Pomodoro Technique is a time management method that involves breaking work down into intervals. The technique is named after the tomato-shaped kitchen timer that Cirillo used to time his work intervals — how intriguing!</p><p>Here’s how it works:</p><p>1. Choose a task to work on.<br>2. Set a timer for 25 minutes and start working on the task.<br>3. When the timer goes off, take a short break (usually 5 minutes).<br>4. After four Pomodoros (work intervals), take a longer break (usually 15–30 minutes).<br>5. Repeat the process, starting with step 1.</p><p>Using the Pomodoro Technique has numerous benefits, such as increased focus, improved productivity, and better time management. Plus, by taking regular breaks, you’ll feel more refreshed and less burnt out throughout the day.</p><p>So why not give the Pomodoro Technique a try? You might just be surprised at how much more you can accomplish in a day by breaking down your work into manageable intervals. Who knows — you might even become a tomato timer fanatic like Cirillo!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78fad179b4d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revolutionizing Data Engineering: The Emergence of DataOps]]></title>
            <link>https://medium.com/@deepeshtripathi/revolutionizing-data-engineering-the-emergence-of-dataops-dd230990f2e6?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd230990f2e6</guid>
            <category><![CDATA[dataops]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Fri, 05 May 2023 06:31:59 GMT</pubDate>
            <atom:updated>2023-05-05T06:31:59.649Z</atom:updated>
            <content:encoded><![CDATA[<h3>Revolutionizing Data Engineering: The Emergence of DataOps</h3><p>Are you tired of traditional data engineering methods that are time-consuming and prone to errors? Do you want to streamline your data engineering processes and make them more efficient? If so, then you need to know about DataOps. In this blog post, we will introduce you to DataOps and explain how it is revolutionizing data engineering.</p><h3>Introduction to DataOps</h3><p>DataOps is a new approach to data engineering that aims to streamline data operations and make them more efficient. It is a combination of agile methodologies, automation, and collaboration. DataOps is a response to the challenges that traditional data engineering methods face, such as long development cycles, poor quality data, and lack of communication between teams.</p><p>DataOps is all about breaking down silos and creating a more collaborative environment. It involves bringing together data engineers, data scientists, and business analysts to work together on data engineering projects. By doing so, DataOps ensures that everyone is on the same page and that data engineering projects are delivered on time and on budget.</p><h3>Evolution of Data Engineering</h3><p>Data engineering has come a long way since its inception. In the past, data engineering was a manual and time-consuming process. Data engineers had to manually collect, clean, and transform data, which took a lot of time and effort. However, with the advent of big data and cloud computing, data engineering has become more complex.</p><p>Today, data engineering involves collecting data from various sources, cleaning and transforming the data, and then storing it in a data warehouse or data lake. Data engineering also involves creating data pipelines and ETL (extract, transform, load) processes. These processes are critical for businesses that rely on data to make decisions.</p><h3>What is DataOps?</h3><p>DataOps is a set of principles and practices that aim to streamline data engineering processes and make them more efficient. It is based on the principles of DevOps, which is a set of practices that aim to streamline software development processes. DataOps brings together data engineers, data scientists, and business analysts to work together on data engineering projects.</p><p>DataOps involves automating data engineering processes and creating a more collaborative environment. It also involves using agile methodologies to deliver data engineering projects on time and on budget. DataOps is all about breaking down silos and creating a more collaborative environment for data engineering teams.</p><h3>Benefits of DataOps</h3><p>DataOps has many benefits for businesses that rely on data to make decisions. One of the biggest benefits of DataOps is that it streamlines data engineering processes and makes them more efficient. This means that businesses can collect, clean, and transform data more quickly, which allows them to make decisions faster.</p><p>DataOps also improves the quality of data by ensuring that data is cleaned and transformed properly. This means that businesses can rely on their data to make decisions with confidence. DataOps also improves communication between teams by breaking down silos and creating a more collaborative environment.</p><h3>Principles of DataOps</h3><p>DataOps is based on several principles that are critical for its success. These principles include:</p><ol><li>Collaborative: DataOps is a collaborative approach that involves bringing together data engineers, data scientists, and business analysts to work together on data engineering projects.</li><li>Agile: DataOps uses agile methodologies to deliver data engineering projects on time and on budget.</li><li>Automated: DataOps involves automating data engineering processes to make them more efficient.</li><li>Quality: DataOps ensures that data is cleaned and transformed properly to improve its quality.</li><li>Continuous: DataOps involves continuous delivery of data engineering projects.</li></ol><h3>Key Components of DataOps</h3><p>DataOps has several key components that are critical for its success. These components include:</p><ol><li>Data pipelines: Data pipelines are critical for collecting, cleaning, and transforming data.</li><li>Data warehouses: Data warehouses are used to store data and make it accessible to businesses.</li><li>Data lakes: Data lakes are used to store large amounts of unstructured data.</li><li>ETL processes: ETL processes are used to extract, transform, and load data into a data warehouse or data lake.</li><li>Automation tools: Automation tools are critical for automating data engineering processes.</li></ol><h3>DataOps vs. DevOps</h3><p>DataOps is often compared to DevOps because it is based on the same principles. However, there are some key differences between the two. DevOps is focused on software development, while DataOps is focused on data engineering. DevOps is concerned with delivering software quickly, while DataOps is concerned with delivering data engineering projects quickly.</p><h3>Implementing DataOps in your organization</h3><p>Implementing DataOps in your organization requires a few key steps. These steps include:</p><ol><li>Creating a collaborative environment: DataOps requires a collaborative environment where data engineers, data scientists, and business analysts can work together.</li><li>Automating data engineering processes: Automation is critical for making data engineering processes more efficient.</li><li>Using agile methodologies: Agile methodologies are critical for delivering data engineering projects on time and on budget.</li><li>Breaking down silos: Silos must be broken down to create a more collaborative environment.</li><li>Using the right tools and technologies: The right tools and technologies are critical for implementing DataOps in your organization.</li></ol><h3>Tools and technologies used in DataOps</h3><p>DataOps requires several tools and technologies to be successful. These tools and technologies include:</p><ol><li>Automation tools: Automation tools are critical for automating data engineering processes.</li><li>Data integration tools: Data integration tools are used to integrate data from various sources.</li><li>Data warehouses: Data warehouses are used to store data and make it accessible to businesses.</li><li>Data lakes: Data lakes are used to store large amounts of unstructured data.</li><li>ETL tools: ETL tools are used to extract, transform, and load data into a data warehouse or data lake.</li></ol><h3>Best practices for DataOps</h3><p>DataOps has several best practices that are critical for its success. These best practices include:</p><ol><li>Collaboration: Collaboration is critical for creating a more efficient and effective data engineering environment.</li><li>Automation: Automation is critical for making data engineering processes more efficient.</li><li>Agile methodologies: Agile methodologies are critical for delivering data engineering projects on time and on budget.</li><li>Quality control: Quality control is critical for ensuring that data is cleaned and transformed properly.</li><li>Continuous delivery: Continuous delivery is critical for delivering data engineering projects quickly and efficiently.</li></ol><h3>Challenges and limitations of DataOps</h3><p>DataOps has several challenges and limitations that businesses must be aware of. These challenges and limitations include:</p><ol><li>Lack of expertise: Implementing DataOps requires expertise in data engineering, which can be difficult to find.</li><li>Resistance to change: Some employees may resist the changes that are required to implement DataOps.</li><li>Cost: Implementing DataOps can be expensive, especially if new tools and technologies are required.</li><li>Scalability: DataOps may not be scalable for large organizations.</li><li>Security: DataOps may introduce security risks if data is not properly secured.</li></ol><h3>Future of DataOps</h3><p>The future of DataOps looks bright. As businesses continue to rely on data to make decisions, the need for efficient and effective data engineering processes will only grow. DataOps is poised to become the standard approach to data engineering, and businesses that adopt it early will have a significant competitive advantage.</p><h3>Conclusion</h3><p>DataOps is revolutionizing data engineering by streamlining processes and making them more efficient. It is based on the principles of agile methodologies, automation, and collaboration. DataOps has many benefits for businesses that rely on data to make decisions, including improved data quality and faster decision-making. Implementing DataOps requires a collaborative environment, automation, and the right tools and technologies. DataOps has several challenges and limitations, but its future looks bright. Subscribe to this space for more such blogs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd230990f2e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zookeeper Client Install Fail-Resolved]]></title>
            <link>https://medium.com/@deepeshtripathi/zookeeper-client-install-fail-resolved-7d7d25c54481?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d7d25c54481</guid>
            <category><![CDATA[zookeeper]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Tue, 14 Jul 2020 10:06:55 GMT</pubDate>
            <atom:updated>2020-07-14T10:06:55.812Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*GM_rAGgq_56izlj2o2HxUg.jpeg" /><figcaption>credit google images quora.com</figcaption></figure><p>Recently during the restart of the zookeeper client during Kerberos installation, I was challenged by the below error.</p><pre>Traceback (most recent call last):<br>  File &quot;/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py&quot;, line 37, in &lt;module&gt;<br>    AfterInstallHook().execute()<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py&quot;, line 367, in execute<br>    method(env)<br>  File &quot;/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py&quot;, line 31, in hook<br>    setup_stack_symlinks(self.stroutfile)<br>  File &quot;/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py&quot;, line 62, in setup_stack_symlinks<br>    stack_select.select(package, json_version)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py&quot;, line 312, in select<br>    Execute(command, sudo=True)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/base.py&quot;, line 166, in __init__<br>    self.env.run()<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/environment.py&quot;, line 160, in run<br>    self.run_action(resource, action)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/environment.py&quot;, line 124, in run_action<br>    provider_action()<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py&quot;, line 262, in action_run<br>    tries=self.resource.tries, try_sleep=self.resource.try_sleep)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/shell.py&quot;, line 72, in inner<br>    result = function(command, **kwargs)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/shell.py&quot;, line 102, in checked_call<br>    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/shell.py&quot;, line 150, in _call_wrapper<br>    result = _call(command, **kwargs_copy)<br>  File &quot;/usr/lib/python2.6/site-packages/resource_management/core/shell.py&quot;, line 303, in _call<br>    raise ExecutionFailed(err_msg, code, out, err)<br>resource_management.core.exceptions.ExecutionFailed: Execution of &#39;ambari-python-wrap /usr/bin/hdp-select set zookeeper-client 2.6.3.0-235&#39; returned 1. symlink target /usr/hdp/current/zookeeper-client for zookeeper already exists and it is not a symlink.</pre><p>stdout: /var/lib/ambari-agent/data/output-1014.txt</p><pre>2020-07-13 12:08:18,460 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -&gt; 2.6<br>2020-07-13 12:08:18,462 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf<br>2020-07-13 12:08:18,464 - Group[&#39;kms&#39;] {}<br>2020-07-13 12:08:18,467 - Group[&#39;livy&#39;] {}<br>2020-07-13 12:08:18,468 - Group[&#39;spark&#39;] {}<br>2020-07-13 12:08:18,468 - Group[&#39;ranger&#39;] {}<br>2020-07-13 12:08:18,469 - Group[&#39;hdfs&#39;] {}<br>2020-07-13 12:08:18,469 - Group[&#39;zeppelin&#39;] {}<br>2020-07-13 12:08:18,470 - Group[&#39;hadoop&#39;] {}<br>2020-07-13 12:08:18,470 - Group[&#39;users&#39;] {}<br>2020-07-13 12:08:18,472 - User[&#39;hive&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,475 - User[&#39;zookeeper&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,478 - User[&#39;infra-solr&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,480 - User[&#39;ams&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,483 - User[&#39;ranger&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;ranger&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,485 - User[&#39;tez&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;users&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,488 - User[&#39;zeppelin&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;zeppelin&#39;, &#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,490 - User[&#39;kms&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,493 - User[&#39;livy&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,495 - User[&#39;spark&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,498 - User[&#39;ambari-qa&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;users&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,501 - User[&#39;kafka&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,503 - User[&#39;hdfs&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hdfs&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,506 - User[&#39;sqoop&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,508 - User[&#39;yarn&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,511 - User[&#39;mapred&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,513 - User[&#39;hbase&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,516 - User[&#39;hcat&#39;] {&#39;gid&#39;: &#39;hadoop&#39;, &#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hadoop&#39;], &#39;uid&#39;: None}<br>2020-07-13 12:08:18,518 - File[&#39;/var/lib/ambari-agent/tmp/changeUid.sh&#39;] {&#39;content&#39;: StaticFile(&#39;changeToSecureUid.sh&#39;), &#39;mode&#39;: 0555}<br>2020-07-13 12:08:18,522 - Execute[&#39;/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0&#39;] {&#39;not_if&#39;: &#39;(test $(id -u ambari-qa) -gt 1000) || (false)&#39;}<br>2020-07-13 12:08:18,547 - Skipping Execute[&#39;/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0&#39;] due to not_if<br>2020-07-13 12:08:18,548 - Directory[&#39;/tmp/hbase-hbase&#39;] {&#39;owner&#39;: &#39;hbase&#39;, &#39;create_parents&#39;: True, &#39;mode&#39;: 0775, &#39;cd_access&#39;: &#39;a&#39;}<br>2020-07-13 12:08:18,551 - File[&#39;/var/lib/ambari-agent/tmp/changeUid.sh&#39;] {&#39;content&#39;: StaticFile(&#39;changeToSecureUid.sh&#39;), &#39;mode&#39;: 0555}<br>2020-07-13 12:08:18,555 - File[&#39;/var/lib/ambari-agent/tmp/changeUid.sh&#39;] {&#39;content&#39;: StaticFile(&#39;changeToSecureUid.sh&#39;), &#39;mode&#39;: 0555}<br>2020-07-13 12:08:18,558 - call[&#39;/var/lib/ambari-agent/tmp/changeUid.sh hbase&#39;] {}<br>2020-07-13 12:08:18,587 - call returned (0, &#39;9048&#39;)<br>2020-07-13 12:08:18,589 - Execute[&#39;/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 9048&#39;] {&#39;not_if&#39;: &#39;(test $(id -u hbase) -gt 1000) || (false)&#39;}<br>2020-07-13 12:08:18,613 - Skipping Execute[&#39;/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 9048&#39;] due to not_if<br>2020-07-13 12:08:18,615 - Group[&#39;hdfs&#39;] {}<br>2020-07-13 12:08:18,616 - User[&#39;hdfs&#39;] {&#39;fetch_nonlocal_groups&#39;: True, &#39;groups&#39;: [&#39;hdfs&#39;, &#39;hdfs&#39;]}<br>2020-07-13 12:08:18,618 - FS Type: <br>2020-07-13 12:08:18,618 - Directory[&#39;/etc/hadoop&#39;] {&#39;mode&#39;: 0755}<br>2020-07-13 12:08:18,619 - Directory[&#39;/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir&#39;] {&#39;owner&#39;: &#39;hdfs&#39;, &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: 01777}<br>2020-07-13 12:08:18,658 - Repository[&#39;HDF-3.0-repo-1&#39;] {&#39;append_to_file&#39;: False, &#39;base_url&#39;: &#39;http://10.144.16.102/HDF/&#39;, &#39;action&#39;: [&#39;create&#39;], &#39;components&#39;: [&#39;HDF&#39;, &#39;main&#39;], &#39;repo_template&#39;: &#39;[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0&#39;, &#39;repo_file_name&#39;: &#39;ambari-hdp-1&#39;, &#39;mirror_list&#39;: &#39;&#39;}<br>2020-07-13 12:08:18,677 - File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] {&#39;content&#39;: InlineTemplate(...)}<br>2020-07-13 12:08:18,680 - Writing File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] because it doesn&#39;t exist<br>2020-07-13 12:08:18,681 - Repository[&#39;HDP-2.6-repo-1&#39;] {&#39;append_to_file&#39;: True, &#39;base_url&#39;: &#39;http://10.144.16.102/HDP/centos6/2.6.3.0-235/&#39;, &#39;action&#39;: [&#39;create&#39;], &#39;components&#39;: [&#39;HDP&#39;, &#39;main&#39;], &#39;repo_template&#39;: &#39;[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0&#39;, &#39;repo_file_name&#39;: &#39;ambari-hdp-1&#39;, &#39;mirror_list&#39;: &#39;&#39;}<br>2020-07-13 12:08:18,690 - File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] {&#39;content&#39;: &#39;[HDF-3.0-repo-1]\nname=HDF-3.0-repo-1\nbaseurl=http://10.144.16.102/HDF/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-repo-1]\nname=HDP-2.6-repo-1\nbaseurl=http://10.144.16.102/HDP/centos6/2.6.3.0-235/\n\npath=/\nenabled=1\ngpgcheck=0&#39;}<br>2020-07-13 12:08:18,690 - Writing File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] because contents don&#39;t match<br>2020-07-13 12:08:18,691 - Repository[&#39;HDP-UTILS-1.1.0.21-repo-1&#39;] {&#39;append_to_file&#39;: True, &#39;base_url&#39;: &#39;http://10.144.16.102/HDP-UTILS/&#39;, &#39;action&#39;: [&#39;create&#39;], &#39;components&#39;: [&#39;HDP-UTILS&#39;, &#39;main&#39;], &#39;repo_template&#39;: &#39;[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0&#39;, &#39;repo_file_name&#39;: &#39;ambari-hdp-1&#39;, &#39;mirror_list&#39;: &#39;&#39;}<br>2020-07-13 12:08:18,700 - File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] {&#39;content&#39;: &#39;[HDF-3.0-repo-1]\nname=HDF-3.0-repo-1\nbaseurl=http://10.144.16.102/HDF/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-repo-1]\nname=HDP-2.6-repo-1\nbaseurl=http://10.144.16.102/HDP/centos6/2.6.3.0-235/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.21-repo-1]\nname=HDP-UTILS-1.1.0.21-repo-1\nbaseurl=http://10.144.16.102/HDP-UTILS/\n\npath=/\nenabled=1\ngpgcheck=0&#39;}<br>2020-07-13 12:08:18,701 - Writing File[&#39;/etc/yum.repos.d/ambari-hdp-1.repo&#39;] because contents don&#39;t match<br>2020-07-13 12:08:18,719 - Package[&#39;unzip&#39;] {&#39;retry_on_repo_unavailability&#39;: False, &#39;retry_count&#39;: 5}<br>2020-07-13 12:08:18,902 - Skipping installation of existing package unzip<br>2020-07-13 12:08:18,903 - Package[&#39;curl&#39;] {&#39;retry_on_repo_unavailability&#39;: False, &#39;retry_count&#39;: 5}<br>2020-07-13 12:08:18,920 - Skipping installation of existing package curl<br>2020-07-13 12:08:18,920 - Package[&#39;hdp-select&#39;] {&#39;retry_on_repo_unavailability&#39;: False, &#39;retry_count&#39;: 5}<br>2020-07-13 12:08:18,936 - Skipping installation of existing package hdp-select<br>2020-07-13 12:08:18,938 - The repository with version 2.6.3.0-235 for this command has been marked as resolved. It will be used to report the version of the component which was installed<br>2020-07-13 12:08:19,426 - Command repositories: HDF-3.0-repo-1, HDP-2.6-repo-1, HDP-UTILS-1.1.0.21-repo-1<br>2020-07-13 12:08:19,426 - Applicable repositories: HDP-2.6-repo-1, HDP-UTILS-1.1.0.21-repo-1<br>2020-07-13 12:08:19,434 - Looking for matching packages in the following repositories: HDP-2.6-repo-1, HDP-UTILS-1.1.0.21-repo-1<br>2020-07-13 12:08:22,143 - Package[&#39;zookeeper_2_6_3_0_235&#39;] {&#39;retry_on_repo_unavailability&#39;: False, &#39;retry_count&#39;: 5}<br>2020-07-13 12:08:22,235 - Skipping installation of existing package zookeeper_2_6_3_0_235<br>2020-07-13 12:08:22,238 - Package[&#39;zookeeper_2_6_3_0_235-server&#39;] {&#39;retry_on_repo_unavailability&#39;: False, &#39;retry_count&#39;: 5}<br>2020-07-13 12:08:22,254 - Skipping installation of existing package zookeeper_2_6_3_0_235-server<br>2020-07-13 12:08:22,259 - Directory[&#39;/usr/hdp/current/zookeeper-client/conf&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;create_parents&#39;: True, &#39;group&#39;: &#39;hadoop&#39;}<br>2020-07-13 12:08:22,265 - File[&#39;/usr/hdp/current/zookeeper-client/conf/zookeeper-env.sh&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;content&#39;: InlineTemplate(...), &#39;group&#39;: &#39;hadoop&#39;}<br>2020-07-13 12:08:22,271 - File[&#39;/usr/hdp/current/zookeeper-client/conf/zoo.cfg&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;content&#39;: Template(&#39;zoo.cfg.j2&#39;), &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: None}<br>2020-07-13 12:08:22,272 - File[&#39;/usr/hdp/current/zookeeper-client/conf/configuration.xsl&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;content&#39;: Template(&#39;configuration.xsl.j2&#39;), &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: None}<br>2020-07-13 12:08:22,273 - Directory[&#39;/var/run/zookeeper&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;create_parents&#39;: True, &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: 0755}<br>2020-07-13 12:08:22,273 - Directory[&#39;/var/log/zookeeper&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;create_parents&#39;: True, &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: 0755}<br>2020-07-13 12:08:22,274 - Directory[&#39;/hadoop/zookeeper&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;create_parents&#39;: True, &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: 0755, &#39;cd_access&#39;: &#39;a&#39;}<br>2020-07-13 12:08:22,276 - File[&#39;/usr/hdp/current/zookeeper-client/conf/log4j.properties&#39;] {&#39;content&#39;: InlineTemplate(...), &#39;owner&#39;: &#39;zookeeper&#39;, &#39;group&#39;: &#39;hadoop&#39;, &#39;mode&#39;: 0644}<br>2020-07-13 12:08:22,277 - File[&#39;/usr/hdp/current/zookeeper-client/conf/zoo_sample.cfg&#39;] {&#39;owner&#39;: &#39;zookeeper&#39;, &#39;group&#39;: &#39;hadoop&#39;}<br>2020-07-13 12:08:22,278 - The repository with version 2.6.3.0-235 for this command has been marked as resolved. It will be used to report the version of the component which was installed<br>2020-07-13 12:08:22,903 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf<br>2020-07-13 12:08:22,982 - Execute[(&#39;ambari-python-wrap&#39;, &#39;/usr/bin/hdp-select&#39;, &#39;set&#39;, &#39;zookeeper-client&#39;, &#39;2.6.3.0-235&#39;)] {&#39;sudo&#39;: True}<br>2020-07-13 12:08:23,063 - The repository with version 2.6.3.0-235 for this command has been marked as resolved. It will be used to report the version of the component which was installed<br><br>Command failed after 1 tries</pre><p>There are many queries in the Cloudera community about this issue but only a few talks about the exact solution and people have not shared their experiences how exactly they came out of this issue.</p><p>Cloudera support articles just mention about</p><ol><li>yum-complete-transactions</li><li>yum clean all</li><li>yum remove pkg\*</li><li>Finally re-install the pkg.</li></ol><p>I performed the above steps multiple times but there was no luck to my end.</p><p>During the course of troubleshooting, I realized that only remove the package does not help in resolving this issue, you have to also delete all old directories respective for the Hadoop component. After removing the package using yum remove do not forget to delete the old logs, config, lib, and PID directories.</p><p>Completing the above four steps with delete of old directories and files eventually resolves the issue.</p><p><strong><em>Here is how you can do it:</em></strong></p><p><strong>Remove zookeeper</strong></p><pre>yum remove zookeeper\*</pre><p>delete all zookeeper symlinks of client and servers under /usr/hdp/current</p><pre>unlink zookeeper_client</pre><p><strong>Re-install zookeeper</strong></p><pre>yum install zookeeper\*</pre><p>After installation check whether all symlinks are successfully created in “/usr/hdp/current/zookeepr_client” for the package you just performed the activity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d7d25c54481" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BBPress WordPress Permalink Redirecting To Home Page- Resolved]]></title>
            <link>https://medium.com/@deepeshtripathi/bbpress-wordpress-permalink-redirecting-to-home-page-resolved-755504f153d8?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/755504f153d8</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[bbpress]]></category>
            <category><![CDATA[wordpress-plugins]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Fri, 03 Jul 2020 21:31:34 GMT</pubDate>
            <atom:updated>2020-07-03T21:31:34.588Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*rlcyr3-VTyZTp81-31cb4A.jpeg" /><figcaption>Credit google images by wordpress.org</figcaption></figure><p>Well, I can understand you have no clue why your forums are redirecting to your home page with BBpress WordPress plugin?</p><h3>BBPress WordPress Forum Permalink Redirecting To Home Page- Fixed</h3><p>I faced a similar issue recently and this blog is about how you can resolve this simple yet tough looking issue with a small setting.</p><p>So before proceeding further, let us understand what exactly was the issue and how to reproduce it.</p><p>One of my friend recently was working on a learning portal and there was a requirement to create forums.</p><p><em>He used WordPress BBpress plugin to feature this capability to the portal but to his surprise when he created his first forum the permalink of forum page was always redirecting to the home page of the portal.</em></p><p>There was no redirection enabled and all settings on the Admin-&gt;settings-&gt;forum was looking fine and yet the problem was there without any clue.</p><p><strong>Resolution:</strong></p><p>To resolve the issue check admin-&gt;settings-&gt;forum settings from the wordpress dashboard console.</p><p>First check which page of the forum is causing this redirection issue for this you can look for two sections in forum settings mentioned in above path.</p><ol><li>Forum Single Slugs</li><li>Forum Root Slug</li></ol><p><strong>Forum Single Slugs</strong></p><p>In my case, I checked all the forum single slugs but they were doing all okay and I could not resolve the issue changing settings of Forum Single Slugs, there are multiple slugs on this page and you have to try and test the slug properties according to the issue with the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*8IOdlvZy_08E7e4UlSPj_w.png" /></figure><p><strong>Forum Root Slug</strong></p><p>Forum root slug defines the root path of your forum in the site, In my case, I found the issue here in the root slug.</p><p>Basically there was space in the Forum Root property of this section due to this BBpress plugin was redirecting the permalink of forum root to the home of website.</p><p><strong><em>To fix the issue, just remove the space between words in the forum root slug.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*Z0-XAgotRj0Kr_i0wVU3cA.png" /></figure><p><strong>After Fix</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*zX2NPgDC4PeVOpIhY9rfDQ.png" /><figcaption>Removing Space From Forum Root Resolved The Issue</figcaption></figure><p>Thanks for reading, let me know if it works for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=755504f153d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hbase “master.HMaster: Failed to become active master” Startup Issue Fixed]]></title>
            <link>https://medium.com/@deepeshtripathi/hbase-master-hmaster-failed-to-become-active-master-startup-issue-fixed-a456168733?source=rss-d52666fbdeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a456168733</guid>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[hbase]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hortonworks]]></category>
            <dc:creator><![CDATA[Deepesh Tripathi]]></dc:creator>
            <pubDate>Wed, 01 Jul 2020 20:44:50 GMT</pubDate>
            <atom:updated>2020-07-01T20:44:50.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*k-3xd5gJphqAGqTxYAjhfg.png" /><figcaption>credit:hbase.apache.org</figcaption></figure><p><strong><em>Solution -“master.HMaster: Failed to become active master<br>org.apache.hadoop.hbase.util.FileSystemVersionException: HBase file layout needs to be upgraded. You have version null and I want version 8.”</em></strong></p><p>Issues from HDFS sometime put you in surprise, you do the same things during installation yet destined to face different new issues every time you set up a multi-node Hadoop cluster.</p><p>Something similar happened with me while creating a fresh multi-node cloud-hosted Hadoop cluster, I encountered the below issue while starting up the Hbase-Master.</p><pre>2020–07–01 17:29:34,489 FATAL [azu:16000.activeMasterManager] master.HMaster: Failed to become active master<br>org.apache.hadoop.hbase.util.FileSystemVersionException: HBase file layout needs to be upgraded. You have version null and<br>I want version 8. Consult <a href="http://hbase.apache.org/book.html">http://hbase.apache.org/book.html</a> for further information about upgrading HBase. Is your hbase.ro<br>otdir valid? If so, you may need to run ‘hbase hbck -fixVersionFile’.</pre><p>To my surprise, I did nothing wrong and had no clue why the Hbase master is not coming up. Basically, when I tried starting the Hbase master it came up but failed again with the above exception.</p><p>As per the above error log, I tried executing the “<strong>hbase hbck -fixVersionFile” </strong>which could not be completed due to the below error and stuck with this below-mentioned exception.</p><pre>RpcRetryingCaller{globalStartTime=1486592589700, pause=100, retries=31}, org.apache.hadoop.hbase.MasterNotRunningException: java.io.IOException: Can&#39;t get master address from ZooKeeper; znode data == null<br></pre><p><strong>Solution</strong></p><p>To solve this issue please follow the below steps:</p><ol><li>Stop the Hbase service from Ambari console.</li><li>Log in Hbase Master node with “hdfs” user.</li><li>Check the property “hbase.rootdir” from hbase-site.xml</li><li>Delete the “hbase.rootdir” from hdfs filesystem.</li></ol><pre>hdfs dfs -rm -r /apps/hbase/data</pre><p>Please note here that the above directory could be different in your environment depending upon your configuration.</p><p>Below is an example of how you will find the value of the above property in “hbase-site.xml” file.</p><pre>hdfs://FQDN:8020/apps/hbase/data</pre><p>5. After deleting directory login into zookeeper CLI using the below command.</p><pre>./zkCli.sh</pre><p>6. Check whether “hbase-unsecure” node is created in the zookeeper or not? this you can check with “zookeeper.znode.parent” property of the “hbase-site.xml” file.</p><p>So in nutshell, you have to locate the value of “zookeeper.znode.parent” and look into zookeeper if this Znode exists. if it exists, please delete it with the below command.</p><p>To List all paths in zookeeper</p><pre>ls /</pre><p>To delete the znode identified use below command from zookeeper client.</p><pre>rmr /hbase-unsecure</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*idv89qpC2x9vMV0JPw5_kA.png" /></figure><p>7. Restart the Hbase service from Ambari.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wj7a2x8OnDyQa1RxN2Mggg.png" /><figcaption>Hbase Master Started After Applying Fix</figcaption></figure><p>That’s it for now, it fixed the above issue!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a456168733" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>