Bug 487848 - Build stuck at 66% when building gradle project with Spark and HBase dependencies
Summary: Build stuck at 66% when building gradle project with Spark and HBase dependen...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 22:54 EST by Hrishikesh Joshi CLA
Modified: 2016-03-15 18:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hrishikesh Joshi CLA 2016-02-15 22:54:42 EST
The workspace keeps building when the with gradle project having hbase and spark dependencies.
Also I find the .log file gets deleted everytime the project is opened.

-- Configuration Details --
Product: Eclipse 4.4.2.20150219-0708 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.10.1.v20150204-1700
Comment 1 Stephan Herrmann CLA 2016-02-16 06:58:58 EST
Do you use the BuildShip plugin for gradle integration?

If so, does the hang also occur when you (temporarily) disable the gradle builder?

We need to find out if this is a genuine JDT problem or should be moved towards the BuildShip project.
Comment 2 Hrishikesh Joshi CLA 2016-03-14 00:26:12 EDT
No. Not using buildship plugin. Infact its not the gradle build which fails but building eclipse workspace (When we chose from Project >> Build Project Automatically) is getting stuck
Comment 3 Stephan Herrmann CLA 2016-03-14 16:30:28 EDT
If not using buildship, how do you tell JDT about your dependencies? Perhaps attaching .project and .classpath might be a start towards understanding your solution.

Additionally for any problem with stuck / hanging processes please see the following hints on how to gather more information: https://wiki.eclipse.org/How_to_report_a_deadlock
Comment 4 Hrishikesh Joshi CLA 2016-03-14 22:08:52 EDT
Hi Stephan,
I have observed after some debugging on my side, the eclipse getting stuck is happening due to only one source file. Will follow the steps the link mentioned to take the heap dump and will attach.
Comment 5 Stephan Herrmann CLA 2016-03-15 18:51:32 EDT
(In reply to Hrishikesh Joshi from comment #4)
> [...] mentioned to take the heap dump and will attach.

I hope you meant to say "thread dump"