Trending questions in Edureka Community

+4 votes
17 answers

How can I run a ‘docker exec’ command inside a docker container?

you can run any command in a ...READ MORE

Dec 10, 2018 in Docker by Pramiti
461,775 views
+13 votes
12 answers

Default parameters of XMS and XMX in JVM

You use these Java command-line parameters to ...READ MORE

Nov 13, 2018 in Java by Murali
260,401 views
+9 votes
14 answers

Unable to resolve this error: "javac is not recognized as an internal or external command"

Check your javac path on Windows using Windows Explorer C:\Program Files\Java\jdk1.7.0_02\bin and ...READ MORE

May 23, 2018 in Java by Rishabh
• 3,580 points
212,690 views
+15 votes
22 answers

How can I convert String to JSON object in Java?

Hi @Daisy You can use Google gson  for more ...READ MORE

Feb 7, 2019 in Java by Suresh
• 720 points
192,324 views
+5 votes
13 answers

Python AWS Boto3: How do i read files from S3 Bucket?

You can download the file from S3 ...READ MORE

Dec 7, 2018 in AWS by Jino
173,672 views
+1 vote
8 answers

How to fix this? ValueError: invalid literal for int() with base 10 error in Python

Just for the record: >>> int('55063.000000') Traceback (most recent ...READ MORE

Aug 17 in Python by pakainfo
• 200 points
162,811 views
+2 votes
10 answers

How to import a jar file in Eclipse?

To import jar file in your Eclipse ...READ MORE

May 15, 2018 in Java by sharth
• 3,370 points
172,308 views
+2 votes
12 answers

“A Non-static method cannot be referenced from a static context” error

this method must be static so that it will exist even though the ...READ MORE

Jun 11, 2019 in Java by Neha
• 330 points
143,988 views
+2 votes
2 answers

Copying files from host to Docker container

P.S The docker cp command works similar to the ...READ MORE

Aug 28 in Docker by Pistle
• 1,000 points
130,412 views
+1 vote
13 answers

How can I delete all the messages from a Kafka topic?

To delete all the messages from a Kafka topic.  There are many approach ...READ MORE

Jun 19 in Apache Kafka by Pawan
• 380 points
120,120 views
+10 votes
15 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

Apr 24, 2018 in Selenium by Vardy
• 2,360 points
121,683 views
+3 votes
3 answers

Git push vs git push origin

In simple words git push command updates ...READ MORE

Apr 23, 2019 in Git & GitHub by Hiran
120,784 views
+1 vote
3 answers

In Python, what is difference between Array and List?

Lists and arrays are used in Python ...READ MORE

Mar 15, 2019 in Python by Taj
• 1,080 points

edited Mar 18, 2019 by Omkar 95,470 views
+2 votes
11 answers

Unable to execute jar- file: “no main manifest attribute”

add a jar/manifest/attributes setting like this: apply plugin: ...READ MORE

Nov 27, 2018 in Java by krishti
99,987 views
+1 vote
2 answers

How to change/update cell value in Python Pandas dataframe?

You can use the at() method to ...READ MORE

Apr 8, 2019 in Python by Kunal
81,551 views
+6 votes
6 answers

What exactly is the function of random.seed() in python?

The seed method is used to initialize the ...READ MORE

Oct 29, 2018 in Python by Rahul
91,081 views
+2 votes
11 answers

How to run multiple commands in docker at once?

Try this: docker run image bash -c "cd ...READ MORE

Apr 17, 2019 in Docker by anonymous

edited Apr 17, 2019 by Kalgi 94,264 views
+1 vote
12 answers

Communications link failure: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

I had the same problem.then i did ...READ MORE

Aug 15 in Java by Bhuvana
82,881 views
0 votes
2 answers

Jenkins and Docker : Build a Docker image using an jenkins pipeline and push it into docker registry.

In the illustration below, i have created a ...READ MORE

Aug 26, 2019 in Jenkins by Sirajul
• 58,130 points
81,557 views
+1 vote
11 answers

How does java.net.SocketException: Connection reset happen ?

You can use wireshark to view the ...READ MORE

Dec 7, 2018 in Java by tushh
87,933 views
+2 votes
11 answers

How to print array/ list without brackets in python?

print(*names, sep = ', ') This is what ...READ MORE

Dec 10, 2018 in Python by Sudo
92,144 views
+2 votes
11 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
71,765 views
0 votes
3 answers

Python error "IndentationError: expected an indented block"

IndentationError:  what is the mean READ MORE

Oct 14 in Python by anonymous
• 140 points
63,865 views
+2 votes
6 answers

Error: dpkg frontend is locked by another process

First, find out the id of the process that ...READ MORE

Aug 7, 2019 in Linux Administration by Sirajul
• 58,130 points
64,438 views
0 votes
11 answers

What is the correct way to add external Jars to IntelliJ IDEA Project?

You can also create a "lib" folder ...READ MORE

Jul 17 in Java by Zeenu
71,591 views
+1 vote
11 answers

How to send HTTP POST requests on Java?

How to invoke Thread dump analysis API? Invoking ...READ MORE

Jun 16, 2019 in Java by Jim
• 810 points

reshown Jun 17, 2019 by Vardhan 74,542 views
+3 votes
10 answers

Creating an empty data.frame with only column names - R

fruit_Frame<-data.frame(Fruit=NA, Cost=NA, Quantity=NA)[-1,]; ...READ MORE

May 7 in Data Analytics by yxcv

edited May 8 by Gitika 66,666 views
0 votes
2 answers

How to use not equal operator in python

You can use "!=" and "is not" ...READ MORE

Mar 17 in Python by rahul
• 360 points
62,267 views
0 votes
2 answers

Filtering a row in Spark DataFrame based on matching values from a list

Use the function as following: var notFollowingList=List(9.8,7,6,3 ...READ MORE

Jun 5, 2018 in Apache Spark by Shubham
• 13,450 points
66,188 views
+2 votes
1 answer

UnicodeDecodeError: "utf-8" codec can't decode byte in position : invalid start byte

You have to use the encoding as latin1 ...READ MORE

Jul 23, 2019 in Python by Kunal
60,572 views
0 votes
12 answers

How to create new column with function in Spark Dataframe?

val coder: (Int => String) = v ...READ MORE

Apr 4, 2019 in Apache Spark by anonymous

edited Apr 5, 2019 by Omkar 58,750 views
+2 votes
1 answer

Python: UnicodeDecodeError: "utf-8" codec can"t decode byte 0xa0 in position 10: invalid start byte

You have to use the encoding as latin1 ...READ MORE

Jul 11, 2019 in Python by Ritu
58,082 views
+8 votes
16 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

Apr 24, 2018 in AWS by Flying geek
• 3,260 points
56,842 views
+1 vote
3 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
58,141 views
0 votes
4 answers

How to remove NA values with dplyr::filter()

Can we create a alist as below ...READ MORE

Aug 5, 2019 in Data Analytics by anonymous
66,338 views
+7 votes
24 answers

What is an “Edge Location” in AWS?

Let us start with brief explanation to ...READ MORE

Apr 3, 2018 in Cloud Computing by brat_1
• 7,170 points
60,966 views
+1 vote
3 answers

Python error "ERROR: Could not find a version that satisfies the requirement PyQt4 (from versions: none)"

You cannot install PyQt directly from pip. ...READ MORE

Jul 22, 2019 in Python by Bob
51,262 views
0 votes
11 answers

Java - sending HTTP parameters via POST method easily

You can write like this simply get ...READ MORE

Jul 7 in Java by anonymous
• 140 points
54,857 views
0 votes
3 answers

Selenium Exception error -Element is not clickable at point (x, y). Other element would receive the click

If waitings for element, sleeps and oher ...READ MORE

Dec 12, 2019 in Selenium by Douglas
45,016 views
0 votes
7 answers

How to open a link in new tab of chrome browser using Selenium WebDriver?

Try this once driver.findElement(By.id("id")).sendKeys(Keys.CONT ...READ MORE

Sep 5 in Selenium by Sri
• 2,970 points
48,904 views
+2 votes
1 answer

what is the key difference between Declarative pipeline and scripted pipeliine

The key difference between Declarative pipeline and Scripted pipeline ...READ MORE

Aug 13, 2019 in Jenkins by Sirajul
• 58,130 points
47,752 views
+2 votes
4 answers

How to run YML compose file?

You can run the following command to ...READ MORE

May 6, 2019 in DevOps & Agile by Mithin
54,592 views
0 votes
1 answer

What does file permission 755 mean?

A 777 permission on the directory means that everyone has access ...READ MORE

Dec 21, 2018 in Linux Administration by Omkar
• 69,030 points
55,468 views
0 votes
7 answers

How to replace null values in Spark DataFrame?

in spark 2.x you can directly use ...READ MORE

Mar 28 in Apache Spark by gaurav
49,306 views
+5 votes
11 answers

Concatenate columns in apache spark dataframe

its late but this how you can ...READ MORE

Mar 21, 2019 in Apache Spark by anonymous
57,393 views
+1 vote
10 answers

Iterate over a JSONObject?

You can use the following method to ...READ MORE

Dec 7, 2018 in Java by Shuvodip
57,683 views
0 votes
4 answers

How to remove NA values from a Vector in R?

You can try na.omit() or na.exclude() too. ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
• 32,490 points
53,972 views
+1 vote
1 answer

How can I use python to execute a curl command?

For sake of simplicity, maybe you should ...READ MORE

Oct 11, 2018 in Python by charlie_brown
• 7,780 points
55,118 views
+2 votes
3 answers

How do I execute multiple commands using docker-compose

You can also use the depends_on option ...READ MORE

Apr 22, 2019 in Docker by Kavya
50,738 views
0 votes
1 answer

How to find the index of a particular value in a dataframe?

First, use the dataframe to match the ...READ MORE

Apr 8, 2019 in Python by Esha
46,715 views