Most viewed questions in Edureka Community

+1 vote
12 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
213,209 views
+8 votes
11 answers

Default parameters of XMS and XMX in JVM

-xmx and -xms are the parameters used ...READ MORE

Jun 1, 2018 in Java by v.liyyah
• 1,320 points
164,618 views
+15 votes
19 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
• 700 points
115,385 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
95,951 views
+9 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,370 points
89,297 views
+2 votes
11 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
77,960 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
77,404 views
0 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
71,583 views
+9 votes
12 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,560 points
70,650 views
+1 vote
12 answers

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

As of kafka 2.3.0 version, there is ...READ MORE

Sep 8, 2019 in Apache Kafka by Brajkishore
• 240 points
62,632 views
+3 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
49,857 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
44,745 views
+1 vote
11 answers

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

you mysql server instance is not running ...READ MORE

Jun 15, 2019 in Java by Encrypter Manyange
43,792 views
0 votes
1 answer

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,370 points
42,709 views
+2 votes
10 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
42,343 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
41,723 views
+1 vote
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 39,791 views
0 votes
1 answer

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

The following are totally acceptable in python: passing ...READ MORE

Nov 16, 2018 in Python by Nymeria
• 3,540 points
39,716 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
39,057 views
+1 vote
10 answers

Set environment variables in Jenkins

You can use the EnvInject plugin. This ...READ MORE

Aug 13, 2018 in Jenkins by Kalgi
• 51,810 points
38,910 views
0 votes
11 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 36,915 views
+4 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,160 points
35,678 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 35,132 views
+1 vote
2 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
34,262 views
0 votes
10 answers

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

The best way is to add the ...READ MORE

Dec 10, 2018 in Java by Nabarupa
32,987 views
0 votes
6 answers

How to replace null values in Spark DataFrame?

Hi i hope this will help for ...READ MORE

Feb 5, 2019 in Apache Spark by Srinivasreddy
• 140 points
31,621 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,750 points
29,420 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
28,816 views
0 votes
1 answer

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
28,233 views
+2 votes
6 answers

If conditional in docker file

You can use the test command RUN test ...READ MORE

Dec 10, 2018 in Docker by Shushant
28,226 views
0 votes
9 answers

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

Will the below code work to create ...READ MORE

Aug 1, 2019 in Data Analytics by preeti
27,444 views
+6 votes
13 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,210 points
25,916 views
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

Jan 18, 2019 in GCP by dodge123@yahoo.com
25,354 views
0 votes
1 answer

Copying files from host to Docker container

For copying the files from the host ...READ MORE

Jul 18, 2018 in Docker by sunshine
• 1,260 points
24,989 views
0 votes
1 answer

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,040 points

edited Mar 18, 2019 by Omkar 24,699 views
0 votes
4 answers

Printing a data.frame without index - Python

.tolist() function will remove index READ MORE

Mar 11, 2019 in Data Analytics by nishant thakur
24,508 views
+4 votes
3 answers

Verifying whether an element present or visible in selenium Webdriver

Below code will help you: To check Element ...READ MORE

Apr 17, 2018 in Selenium by king_kenny
• 3,710 points
23,933 views
0 votes
5 answers

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

You can open a new tab first. ...READ MORE

Nov 27, 2018 in Selenium by Shrikanth
23,623 views
0 votes
2 answers

How to get HTML Source of WebElement in Selenium WebDriver using Python?

You can read innerHTML attribute to get source of ...READ MORE

Jun 13, 2018 in Selenium by Samarpit
• 5,870 points
23,280 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

Dec 7, 2018 in Big Data Hadoop by Aditya
22,573 views
+1 vote
3 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
• 48,810 points
22,278 views
+1 vote
2 answers

Error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

You can also handle this error with ...READ MORE

Nov 27, 2018 in Selenium by Srujan
22,008 views
+1 vote
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
21,862 views
0 votes
4 answers

How to change the spark Session configuration in Pyspark?

You can dynamically load properties. First create ...READ MORE

Dec 10, 2018 in Apache Spark by Vini
21,783 views
0 votes
10 answers

Java - sending HTTP parameters via POST method easily

I personally use Apache's HTTPClient/HttpCore libraries to do ...READ MORE

Dec 10, 2018 in Java by robocop
21,774 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
• 48,810 points
21,350 views
0 votes
1 answer

How to get the return value from a thread using python?

You don't need to change your existing ...READ MORE

Dec 3, 2018 in Python by Nymeria
• 3,540 points

edited Dec 19, 2018 by Nymeria 21,192 views
+1 vote
3 answers

What is the difference between rdd and dataframes in Apache Spark ?

Comparison between Spark RDD vs DataFrame 1. Release ...READ MORE

Aug 27, 2018 in Apache Spark by shams
• 3,580 points
20,784 views
+1 vote
3 answers

What do you mean by python scripting? What is a script and a module in python?

A module is a file containing a ...READ MORE

Jun 17, 2019 in Python by Zain Abbas
20,702 views
+1 vote
4 answers

How to run YML compose file?

To run and open .yml files you ...READ MORE

Sep 7, 2018 in DevOps & Agile by Tyrion anex
• 8,340 points
20,214 views