<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5893383981989524159</id><updated>2026-10-22T15:15:50.377+05:30</updated><category term="Android"/><category term="Windows 7"/><category term="Windows 2008 R2"/><category term="Windows"/><category term="VC++"/><category term="C++"/><category term="Go"/><category term="golang"/><category term="linux"/><category term="LG P990"/><category term="CentOS"/><category term="Samsung Galaxy S4"/><category term="Spring Framework"/><category term="VB Script"/><category term="Active Directory Tools"/><category term="Samsung Galaxy GT-I9500"/><category term="Spring boot"/><category term="Windows 2008"/><category term="Windows 8"/><category term="VBScript"/><category term="hadoop"/><category term="HBase"/><category term="Java"/><category term="Kafka"/><category term="OOP"/><category term="Samsung Galaxy SL"/><category term="python"/><category term="ADT"/><category term="Certificate Error"/><category term="Distributed Systems"/><category term="MAC"/><category term="MSMQ"/><category term="OOAD"/><category term="Registry Tricks"/><category term="Sample Code"/><category term="Samsung Galaxy Note 9"/><category term="Windows XP"/><category term="Android Kitkat Launcher"/><category term="Android N"/><category term="CMW"/><category term="Caching"/><category term="Chrome"/><category term="Commands"/><category term="Consistency Models"/><category term="Cordova"/><category term="Eclipse"/><category term="Firefox"/><category term="Firefox OS"/><category term="GPO"/><category term="Hibernate"/><category term="Internet Explorer"/><category term="Outlook 2010"/><category term="Perforce"/><category term="PerformanceTest"/><category term="PhoneGap"/><category term="Powershell"/><category term="RabbitMQ"/><category term="RegionServer"/><category term="Remote Desktop Connection"/><category term="Repo"/><category term="SSL"/><category term="Samsung Galaxy S II"/><category term="Samsung Galaxy S III"/><category term="Scheduled Task"/><category term="Spring RestTemplate"/><category term="Unix"/><category term="Vagrant"/><category term="VirtualBox"/><category term="VirualBox"/><category term="Visual Studio"/><category term="Windbg"/><category term="Windows 10"/><category term="Windows Registry"/><category term="Windows Services"/><category term="ansible"/><category term="docker"/><category term="iOS 11"/><category term="namenode"/><category term="python script"/><title type='text'>Hints Library</title><subtitle type='html'>I write to discover what I know. (Flannery O&#39;Connor)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>180</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-2380218915072294628</id><published>2025-03-12T23:15:00.004+05:30</published><updated>2025-03-12T23:15:55.043+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Caching"/><category scheme="http://www.blogger.com/atom/ns#" term="Distributed Systems"/><title type='text'></title><summary type="text">Caching is a technique used to store frequently accessed data in a temporary storage layer to improve system performance and reduce latency. There are various caching strategies, each with different use cases, benefits, and trade-offs.Different caching strategies dictate how data is read from and written to the cache and the underlying data store (e.g., a database). Below, are the key caching </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/2380218915072294628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2025/03/caching-is-technique-used-to-store.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/2380218915072294628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/2380218915072294628'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2025/03/caching-is-technique-used-to-store.html' title=''/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-5763950313451261363</id><published>2025-03-11T18:07:00.001+05:30</published><updated>2025-03-11T18:07:15.679+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Consistency Models"/><category scheme="http://www.blogger.com/atom/ns#" term="Distributed Systems"/><title type='text'>Consistency Levels in Distributed Systems</title><summary type="text">In distributed systems,&amp;nbsp;consistency&amp;nbsp;defines the guarantees about the visibility and ordering of updates across different nodes. The choice of consistency level impacts performance, availability, and reliability.&amp;nbsp;&amp;nbsp;Understanding consistency levels helps designing the system effectively within given constraints.

1. Strong Consistency

Definition: Strong consistency guarantees </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/5763950313451261363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2025/03/consistency-levels-in-distributed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5763950313451261363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5763950313451261363'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2025/03/consistency-levels-in-distributed.html' title='Consistency Levels in Distributed Systems'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-3123366193149329208</id><published>2021-03-16T09:31:00.004+05:30</published><updated>2021-03-16T09:31:58.506+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Http POST Request with JSON Body example</title><summary type="text">Go standard library comes with &quot;net/http&quot; package which has excellent support for HTTP Client and Server.&amp;nbsp;&amp;nbsp;In order to post JSON body during post request, we need to convert the data to byte array format and send it along with the request.You can convert the JSON to a byte array using &quot;encoding/json&quot; package. Then use the NewBuffer method to pass this byte array to the post method.
</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/3123366193149329208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-http-post-request-with-json-body.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3123366193149329208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3123366193149329208'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-http-post-request-with-json-body.html' title='Golang: Http POST Request with JSON Body example'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-6389304626736577354</id><published>2021-03-15T07:22:00.000+05:30</published><updated>2021-03-15T07:22:12.187+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Http Get Request example</title><summary type="text">Go standard library comes with &quot;net/http&quot; package which has excellent support for&amp;nbsp; HTTP Client and Server.&amp;nbsp;&amp;nbsp;In this example we will be using &quot;http.Get&quot; method to execute Http Get method. We will convert the response to String and print it.

package main

import (
	&quot;fmt&quot;
	&quot;io/ioutil&quot;
	&quot;net/http&quot;
)

func main(){

	//Use get method to hit the rest API
	resp, err := http.Get(&quot;https://</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/6389304626736577354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-http-get-request-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6389304626736577354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6389304626736577354'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-http-get-request-example.html' title='Golang: Http Get Request example'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-554731702212323140</id><published>2021-03-14T13:25:00.006+05:30</published><updated>2021-03-14T13:25:59.341+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Reading environment variables</title><summary type="text">Usually, environment variables are used to provide the configuration information for the program. You can set the environment outside of the program and you can assess these during execution.&amp;nbsp;Go provides the simplest mechanism to access the environment variables.&amp;nbsp;You can use &#39;OS&#39; package to get or set the environment variables. 

package main

import (
	&quot;fmt&quot;
	&quot;os&quot;
	&quot;strings&quot;
)

func </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/554731702212323140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-reading-environment-variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/554731702212323140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/554731702212323140'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-reading-environment-variables.html' title='Golang: Reading environment variables'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-4775465136521042013</id><published>2021-03-02T11:06:00.001+05:30</published><updated>2021-03-02T11:06:15.471+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Write data to file</title><summary type="text">Writing data to file is the most common use case while writing a program.&amp;nbsp; Here we are going to see multiple ways of writing data to file.&amp;nbsp;&amp;nbsp;
Write using ioutil.WriteFile
You can directly write data to file using ioutil.WriteFile&quot; method. It will take care of creating file if the file does not exists.

package main

import (
	&quot;fmt&quot;
	&quot;io/ioutil&quot;
)

func main() {
	writeStringToFile(&quot;</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/4775465136521042013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-write-data-to-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/4775465136521042013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/4775465136521042013'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/03/golang-write-data-to-file.html' title='Golang: Write data to file'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-5170049957177798032</id><published>2021-02-28T20:55:00.002+05:30</published><updated>2021-03-01T07:37:15.734+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Read data from File ( part II)</title><summary type="text">In the last post, we have seen how we can read data from the file line by line.&amp;nbsp;&amp;nbsp;Sometimes if the file size small then you can read the whole file in one go.&amp;nbsp; In this example, we will be reading the whole file in one go.&amp;nbsp;We will be using &#39;ReadFile&#39; from &#39;ioutil&#39; lib to read the file content.&amp;nbsp;

package main

import (
	&quot;fmt&quot;
	&quot;io/ioutil&quot;
)

func main() {
	readFile(&quot;</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/5170049957177798032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-read-data-from-file-part-ii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5170049957177798032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5170049957177798032'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-read-data-from-file-part-ii.html' title='Golang: Read data from File ( part II)'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-6006524664711709698</id><published>2021-02-28T20:20:00.004+05:30</published><updated>2021-03-02T09:02:41.311+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Read data from file line by line </title><summary type="text">Reading data from files is a common use case. Most of the time you need to read data line by line.There are multiple ways to read data from the file.&amp;nbsp;&amp;nbsp;The simplest way is to open a file and use a scanner to read data line by line. The sample code below does the same.&amp;nbsp;
package main

import (
	&quot;bufio&quot;
	&quot;fmt&quot;
	&quot;os&quot;
)

func main() {
	readLineByLine(&quot;file_path&quot;)
}

func readLineByLine(</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/6006524664711709698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-read-data-from-file-line-by-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6006524664711709698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6006524664711709698'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-read-data-from-file-line-by-line.html' title='Golang: Read data from file line by line '/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-953095578746685921</id><published>2021-02-27T19:15:00.003+05:30</published><updated>2021-03-03T18:25:43.997+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: How to know IP Address and Hostname</title><summary type="text">Sometimes you want to know the hostname and IP address of the machine you are running the program on.&amp;nbsp; We can get the hostname using the OS package.For IP address we can use the Net package. You can read all IP addresses using InterfaceAddrs, you need to filter out the loopback address to get real IP.&amp;nbsp;
package main

import (
	&quot;fmt&quot;
	&quot;net&quot;
	&quot;os&quot;
)

func main() {
	//Reading the hostname </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/953095578746685921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-tutorial-how-to-know-ip-address.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/953095578746685921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/953095578746685921'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/golang-tutorial-how-to-know-ip-address.html' title='Golang: How to know IP Address and Hostname'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-1132862068468330203</id><published>2021-02-25T12:25:00.002+05:30</published><updated>2021-03-01T09:18:08.330+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Go"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><title type='text'>Golang: Check if file exists in go lang</title><summary type="text">It is easy to check if the file with the given path exists or not in Go lang. You can use &#39;Stat&#39; method from &#39;os&#39;.&amp;nbsp;&amp;nbsp;Stat returns a FileInfo describing the named file. So if there is no error then you can safely assume the file exists.&amp;nbsp; &amp;nbsp;&amp;nbsp;

import (
	&quot;fmt&quot;
	&quot;os&quot;
)

func main() {
	if _, err := os.Stat(&quot;file.path&quot;); err == nil {
		fmt.Println(&quot;File with given path exists.&quot;)
</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/1132862068468330203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/go-check-if-file-exists.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1132862068468330203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1132862068468330203'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2021/02/go-check-if-file-exists.html' title='Golang: Check if file exists in go lang'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-4564027584143352680</id><published>2020-10-30T09:33:00.000+05:30</published><updated>2020-10-30T11:22:52.105+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kafka"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>Fix: Buffer overflow when available data size...</title><summary type="text">This is an unusual problem you might face while consuming data from Kafka broker over SSL.&amp;nbsp;
java.lang.IllegalStateException: Buffer overflow when available data size (16384) &amp;gt;= application buffer size (16384)
	at org.apache.kafka.common.network.SslTransportLayer.read(SslTransportLayer.java:592)
	at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:95)
	at </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/4564027584143352680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/fix-buffer-overflow-when-available-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/4564027584143352680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/4564027584143352680'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/fix-buffer-overflow-when-available-data.html' title='Fix: Buffer overflow when available data size...'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-3527303838927144196</id><published>2020-10-30T09:24:00.004+05:30</published><updated>2020-10-30T09:24:19.479+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Fix: Python requests.get(url) times out but works in browser</title><summary type="text">If Python requests.get fails with a timeout and the same URL works in the browser then you will need to simulate the browser request as is while invoking requests.get.&amp;nbsp;&amp;nbsp;Usually, this will get resolved if you put the &quot;user-agent&quot; header, which tells the server which browser is requesting.&amp;nbsp;

session = requests.Session()

headers = {
           &#39;User-Agent&#39;: &#39;Mozilla/5.0 (Macintosh; </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/3527303838927144196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/fix-python-requestsgeturl-times-out-but.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3527303838927144196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3527303838927144196'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/fix-python-requestsgeturl-times-out-but.html' title='Fix: Python requests.get(url) times out but works in browser'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-3886938314877745047</id><published>2020-10-28T15:14:00.007+05:30</published><updated>2020-10-28T17:55:27.189+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Most Useful Linux/Unix Commands </title><summary type="text">Here is the list of commonly used commands on Unix/Linux systems.1. Split File based on number of lines&amp;nbsp;&amp;nbsp;
If you want to split text file &quot;abc.txt&quot; containing 50 lines by each line use the below command
csplit abc.txt 1 {49}  
2. Find out Top 10 Memory intensive processes&amp;nbsp;&amp;nbsp;
If you want to figure out which are the top 10 memory consuming processes use the command below
ps -eo </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/3886938314877745047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/my-most-useful-linuxunix-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3886938314877745047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3886938314877745047'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/my-most-useful-linuxunix-commands.html' title='Most Useful Linux/Unix Commands '/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-1720158283553331223</id><published>2020-10-28T11:05:00.003+05:30</published><updated>2020-10-28T13:41:49.335+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kafka"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformanceTest"/><title type='text'>Kafka Performance Benchmarking</title><summary type="text">Apache Kafka comes with the kafka-*-perf-test tool, which can be used to benchmark the performance of the Kafka cluster. This can be used as the first level of benchmarking tool before you run your production load tests.&amp;nbsp;Kafka Producer TestYou can use kafka-producer-perf-test to measure the Kafka write performance.&amp;nbsp; The below command demonstrates running the Kafka producer test for 100K</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/1720158283553331223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/kafka-performance-benchmarking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1720158283553331223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1720158283553331223'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2020/10/kafka-performance-benchmarking.html' title='Kafka Performance Benchmarking'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-6570627600116937513</id><published>2019-05-08T22:18:00.002+05:30</published><updated>2019-05-08T22:20:26.790+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spring boot"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring Framework"/><title type='text'>Error: Zip64 archives are not supported by springframework</title><summary type="text">Springboot application may fail to start with error &quot;Zip64 archives are not supported&quot; with giving you stack trace as below.

  
Caused by: java.lang.IllegalStateException: Zip64 archives are not supported
    at org.springframework.boot.loader.jar.CentralDirectoryEndRecord.getNumberOfRecords(CentralDirectoryEndRecord.java:124)
    at org.springframework.boot.loader.jar.JarFileEntries.visitStart(</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/6570627600116937513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2019/05/error-zip64-archives-are-not-supported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6570627600116937513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6570627600116937513'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2019/05/error-zip64-archives-are-not-supported.html' title='Error: Zip64 archives are not supported by springframework'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-1125397284322511470</id><published>2018-09-09T22:54:00.000+05:30</published><updated>2018-09-09T22:54:13.984+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy Note 9"/><title type='text'>Quickest way to launch camera app on Samsung Galaxy Note 9</title><summary type="text">Camera is the mostly used app on smart phones, and its frequently required app. Having quick shortcut to launch the camera is always helpful.&amp;nbsp;
Samsung Galaxy Note 9 offers the always on display mode, where it allows to enable on screen home button. &amp;nbsp;Always on display also allows to set camera as a app to launch when double tap on home button.&amp;nbsp;

To enable this go to Setting -&amp;gt; </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/1125397284322511470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/quickest-way-to-launch-camera-app-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1125397284322511470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/1125397284322511470'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/quickest-way-to-launch-camera-app-on.html' title='Quickest way to launch camera app on Samsung Galaxy Note 9'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUkHs4BgjcJbRCFhiiM0l7lFuP8kKmcd28BE0X2QWkFDnf3_gkQHzpRhCvrtiyc0PTUDdERCY54oBPzScg8fpAvLaA_wdTXoOJK9YLyaXWj7bsOS2JFDi_a27TDzpK5rodSP2zQ7hLIGY/s72-c/WhatsApp+Image+2018-09-09+at+10.46.09+PM.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-8658020361915592729</id><published>2018-09-03T09:47:00.000+05:30</published><updated>2018-09-03T09:47:02.027+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy Note 9"/><title type='text'>Enable/Disable always on Display on Samsung Galaxy Note 9</title><summary type="text">If you like to save your battery more, you can turn off the always on display on your Samsung Galaxy Note 9.&amp;nbsp;



To do so, go to Settings -&amp;gt; Display. Now on display settings scroll down to the end, you will find the always &amp;nbsp;on &amp;nbsp;Display &amp;nbsp;setting.
Other option is go to Settings. Now using search bar search for &quot;Always on&quot;.

Here enable/disable always on display by using the </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/8658020361915592729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/enabledisable-always-on-display-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/8658020361915592729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/8658020361915592729'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/enabledisable-always-on-display-on.html' title='Enable/Disable always on Display on Samsung Galaxy Note 9'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj24hva8KdNvROVWNlAek_Df-0wlfVxWrDO8Gb_legbab04I6hMkLY3PqobHkB5hx_jPMqORwCFQvlCDHIf1wB9svuqy6tjQYwsR6Hx-2XfjSe8TenEPziRmA9LH3VwWuKC91Jqn_DC58/s72-c/settings.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-882371508569593509</id><published>2018-09-02T14:51:00.000+05:30</published><updated>2018-09-02T14:51:21.422+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Kafka"/><title type='text'>Using Connect-standalone in Kafka with Kerberos cluster </title><summary type="text">Kafka Connect is a tool for scalably and reliably streaming data between Apache Kafka and other systems. It can also be used in secured Kafka environment. In Kerberixed Kafka installation also you can use the Kafka Connect utilities.&amp;nbsp;
You just have to provide the Java security config and Kerberos config as parameters to connect utils.&amp;nbsp;
Below command shows how can you specify the </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/882371508569593509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/using-connect-standalone-in-kafka-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/882371508569593509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/882371508569593509'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2018/09/using-connect-standalone-in-kafka-with.html' title='Using Connect-standalone in Kafka with Kerberos cluster '/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-5986290382762222759</id><published>2018-01-04T20:07:00.000+05:30</published><updated>2018-01-04T20:07:05.013+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>How to avoid host key checking during ansible script execution</title><summary type="text">During execution of ansible playbook or ansible script on new remote host (which you have not connected via ssh so far) the script might fail with below error

 UNREACHABLE! =&amp;gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;Failed to connect to the host via ssh: ----}


To avoid this you can set the environment variable (ANSIBLE_HOST_KEY_CHECKING) to disable host check before ssh during ansible script execution.
</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/5986290382762222759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2018/01/how-to-avoid-host-key-checking-during.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5986290382762222759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5986290382762222759'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2018/01/how-to-avoid-host-key-checking-during.html' title='How to avoid host key checking during ansible script execution'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-974013104614059758</id><published>2018-01-01T11:05:00.000+05:30</published><updated>2018-01-01T11:05:40.321+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="HBase"/><title type='text'>HMaster not starting up, error &quot;java.io.IOException: Filesystem closed&quot;</title><summary type="text">HMaster fails to start with below error

util.FSHDFSUtils: attempt=0 on file=hdfs://krbhdfs/apps/hbase/data/MasterProcWALs/state-00000000000000000001.log after 1ms java.io.IOException: Filesystem closed.


There could be multiple causes of the error.&amp;nbsp;

If you are willing to loose the data, remove manually the logs under &quot;apps/hbase/MasterProcWALs&quot; and &amp;nbsp;&quot;apps/hbase/WALs&quot; from HDFS. After</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/974013104614059758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2018/01/hmaster-not-starting-up-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/974013104614059758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/974013104614059758'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2018/01/hmaster-not-starting-up-error.html' title='HMaster not starting up, error &quot;java.io.IOException: Filesystem closed&quot;'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-6848385797407104641</id><published>2017-12-30T08:43:00.000+05:30</published><updated>2017-12-30T08:43:54.396+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="HBase"/><category scheme="http://www.blogger.com/atom/ns#" term="RegionServer"/><title type='text'>RegionServer crashing with error &quot;Direct buffer memory&quot;</title><summary type="text">Region server might crash with below error

INFO  [main] zookeeper.ZooKeeper: Initiating client connection, connectString=ip-100-122-218-159.us-east-1.ec2.aws.symcpe.net:2181,ip-******.us-east-1.ec2.aws.net:2181,ip-*****.us-east-1.ec2.aws.net:2181 sessionTimeout=180000 watcher=org.apache.hadoop.hbase.zookeeper.PendingWatcher@253c1256
ERROR [main] regionserver.HRegionServerCommandLine: Region </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/6848385797407104641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/regionserver-crashing-with-error-direct.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6848385797407104641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6848385797407104641'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/regionserver-crashing-with-error-direct.html' title='RegionServer crashing with error &quot;Direct buffer memory&quot;'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-6641600920597376177</id><published>2017-12-29T20:00:00.004+05:30</published><updated>2017-12-29T20:00:50.660+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="HBase"/><title type='text'>HMaster error during startup</title><summary type="text">HMaster throws error as below during startup

FATAL [ip-:16000.activeMasterManager] master.HMaster: The coprocessor org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor threw java.lang.RuntimeException: java.io.FileNotFoundException: /etc/hbase/2.5.0.55-1/0/xasecure-audit.xml (No such file or directory)


This is happening because the ranger co-processor is defined in xml config </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/6641600920597376177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/hmaster-error-during-startup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6641600920597376177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/6641600920597376177'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/hmaster-error-during-startup.html' title='HMaster error during startup'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-3751357710435046808</id><published>2017-12-27T11:42:00.001+05:30</published><updated>2017-12-27T11:42:07.667+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="namenode"/><title type='text'>Unable to start namenode. Error &quot;couldn&#39;t find resource file location&quot;</title><summary type="text">Sometimes starting the namenode might throw below error.
  
ERROR config.RangerConfiguration (RangerConfiguration.java:addResourceIfReadable(110)) - addResourceIfReadable(ranger-hdfs-security.xml): couldn&#39;t find resource file location
INFO  provider.AuditProviderFactory (AuditProviderFactory.java:(77)) - AuditProviderFactory: creating..
FATAL conf.Configuration (Configuration.java:loadResource(</summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/3751357710435046808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/unable-to-start-namenode-error-couldnt.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3751357710435046808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/3751357710435046808'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2017/12/unable-to-start-namenode-error-couldnt.html' title='Unable to start namenode. Error &quot;couldn&#39;t find resource file location&quot;'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-5873938761563450188</id><published>2017-10-17T19:04:00.002+05:30</published><updated>2017-10-17T19:04:34.985+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><title type='text'>Install PIP on CentOS 7</title><summary type="text">Python is widely used programing language and pip is the tool need to install different python packages.

Before you go ahead check if you have pip installed by using command below.

 $ pip --version 
 pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)


You can install pip in multiple ways on CentOS. I will discuss here two ways to install pip.&amp;nbsp;

Install PIP using yup
Update the </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/5873938761563450188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2017/10/install-pip-on-centos-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5873938761563450188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/5873938761563450188'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2017/10/install-pip-on-centos-7.html' title='Install PIP on CentOS 7'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5893383981989524159.post-2571144436808105049</id><published>2017-10-04T20:52:00.001+05:30</published><updated>2017-10-04T20:52:24.869+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Setup python 2.7 on CentOS 7</title><summary type="text">Python is most commonly used development and scripting tool. You can setup Python on CentOS by multiple ways.

Setup Python using Yum

This is simplest method to install development tools on CentOS. Run below commands to setup the python using yum.

[vagrant@localhost ~]$ sudo yum -y update
[vagrant@localhost ~]$ sudo yum groupinstall -y development


Or

[vagrant@localhost ~]$ sudo yum </summary><link rel='replies' type='application/atom+xml' href='http://hintslibrary.blogspot.com/feeds/2571144436808105049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hintslibrary.blogspot.com/2017/10/setup-python-27-on-centos-7_4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/2571144436808105049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5893383981989524159/posts/default/2571144436808105049'/><link rel='alternate' type='text/html' href='http://hintslibrary.blogspot.com/2017/10/setup-python-27-on-centos-7_4.html' title='Setup python 2.7 on CentOS 7'/><author><name>Umesh Kumbhar</name><uri>http://www.blogger.com/profile/16293798571529056244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>