index
int64 1
10.7k
| class
stringclasses 782
values | comment_sentence
stringlengths 1
1.78k
| partition
int64 0
0
| combo
stringlengths 17
1.81k
| labels
listlengths 7
7
|
|---|---|---|---|---|---|
10,511
|
CRenameProcessorDelegate.java
|
* Sets the options that enable exhaustive file search.
| 0
|
* Sets the options that enable exhaustive file search. | CRenameProcessorDelegate.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,512
|
CRenameProcessorDelegate.java
|
The options that may need exhaustive file search since index lookup is not guaranteed to
* return all files participating in refactoring. When one of these options is selected,
* the exhaustive file search is enabled.
| 0
|
The options that may need exhaustive file search since index lookup is not guaranteed to
* return all files participating in refactoring. When one of these options is selected,
* the exhaustive file search is enabled. | CRenameProcessorDelegate.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,513
|
CRenameProcessorDelegate.java
|
* @param bindings bindings being renamed
| 0
|
* @param bindings bindings being renamed | CRenameProcessorDelegate.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,516
|
CRenameProcessorDelegate.java
|
* @see #getOptionsEnablingExhaustiveSearch()
| 0
|
* @see #getOptionsEnablingExhaustiveSearch() | CRenameProcessorDelegate.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,517
|
CRenameProcessorDelegate.java
|
* Builds an index-based file filter for the name search.
| 0
|
* Builds an index-based file filter for the name search. | CRenameProcessorDelegate.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,518
|
CRenameProcessorDelegate.java
|
// Perform text search.
| 0
|
// Perform text search. | CRenameProcessorDelegate.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,523
|
LabelColumnInfo.java
|
* @since 1.0
| 0
|
* @since 1.0 | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,525
|
LabelColumnInfo.java
|
* @since 2.1
| 0
|
* @since 2.1 | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,526
|
LabelColumnInfo.java
|
* @since 2.1
| 0
|
* @since 2.1 | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,528
|
LabelColumnInfo.java
|
* @param properties Map of properties to use to generate the label.
| 0
|
* @param properties Map of properties to use to generate the label. | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,529
|
LabelColumnInfo.java
|
* @param status Result of the properties update
| 0
|
* @param status Result of the properties update | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,531
|
LabelColumnInfo.java
|
* @param update Update to write to.
| 0
|
* @param update Update to write to. | LabelColumnInfo.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,532
|
LabelColumnInfo.java
|
Updates the label parameters for this column based on the provided
* properties. The label information is written to the givne label
* update under the given column index.
*
| 0
|
Updates the label parameters for this column based on the provided
* properties. The label information is written to the givne label
* update under the given column index.
* | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,533
|
LabelColumnInfo.java
|
* Inserts an attribute in front of all the other existing attributes.
| 0
|
* Inserts an attribute in front of all the other existing attributes. | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,534
|
LabelColumnInfo.java
|
* Returns the list of configured label attributes for this column.
| 0
|
* Returns the list of configured label attributes for this column. | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,535
|
LabelColumnInfo.java
|
* Returns the list of configured label attributes for this column.
| 0
|
* Returns the list of configured label attributes for this column. | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,536
|
LabelColumnInfo.java
|
Returns the property names that need to be retrieved in order
* to generate the label for this column.
| 0
|
Returns the property names that need to be retrieved in order
* to generate the label for this column. | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,537
|
LabelColumnInfo.java
|
* Creates the column info object with given array of attributes.
| 0
|
* Creates the column info object with given array of attributes. | LabelColumnInfo.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,540
|
LabelColumnInfo.java
|
* @see PropertiesBasedLabelProvider
| 0
|
* @see PropertiesBasedLabelProvider | LabelColumnInfo.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,542
|
TestAcl.java
|
* Tests covering basic functionality of the ACL objects.
| 0
|
* Tests covering basic functionality of the ACL objects. | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,544
|
TestAcl.java
|
// named group
| 0
|
// named group | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,547
|
TestAcl.java
|
// default named group
| 0
|
// default named group | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,548
|
TestAcl.java
|
// other
| 0
|
// other | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,550
|
TestAcl.java
|
// mask
| 0
|
// mask | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,551
|
TestAcl.java
|
// default mask
| 0
|
// default mask | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,552
|
TestAcl.java
|
// group
| 0
|
// group | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,554
|
TestAcl.java
|
// default owner
| 0
|
// default owner | TestAcl.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,555
|
QueuePollTester.java
|
@code poll()
| 0
|
@code poll() | QueuePollTester.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,557
|
QueuePollTester.java
|
@author Jared Levy
| 0
|
@author Jared Levy | QueuePollTester.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
10,558
|
QueuePollTester.java
|
A generic JUnit test which tests {@code poll()} operations on a queue.
* Can't be invoked directly; please see
| 0
|
A generic JUnit test which tests {@code poll()} operations on a queue.
* Can't be invoked directly; please see | QueuePollTester.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,559
|
QueuePollTester.java
|
// too many "unchecked generic array creations"
| 0
|
// too many "unchecked generic array creations" | QueuePollTester.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,561
|
Suite_Remote_6_8.java
|
* This class is meant to be empty. It enables us to define
* the annotations which list all the different JUnit class we
* want to run. When creating a new test class, it should be
* added to the list below.
| 0
|
* This class is meant to be empty. It enables us to define
* the annotations which list all the different JUnit class we
* want to run. When creating a new test class, it should be
* added to the list below. | Suite_Remote_6_8.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,564
|
Suite_Remote_6_8.java
|
/* Add your test class here */
| 0
|
/* Add your test class here */ | Suite_Remote_6_8.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,565
|
DummyLabel.java
|
* @version @VERSION@
| 0
|
* @version @VERSION@ | DummyLabel.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,570
|
CNavigatorOpenActionProvider.java
|
Contributors:
* Anton Leherbauer (Wind River Systems) - initial API and implementation
| 0
|
Contributors:
* Anton Leherbauer (Wind River Systems) - initial API and implementation | CNavigatorOpenActionProvider.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
10,572
|
CNavigatorOpenActionProvider.java
|
* @see org.eclipse.ui.navigator.CommonActionProvider#init(org.eclipse.ui.navigator.ICommonActionExtensionSite)
| 0
|
* @see org.eclipse.ui.navigator.CommonActionProvider#init(org.eclipse.ui.navigator.ICommonActionExtensionSite) | CNavigatorOpenActionProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,573
|
CNavigatorOpenActionProvider.java
|
* @see org.eclipse.ui.actions.ActionGroup#dispose()
| 0
|
* @see org.eclipse.ui.actions.ActionGroup#dispose() | CNavigatorOpenActionProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,574
|
CNavigatorOpenActionProvider.java
|
* @see org.eclipse.ui.actions.ActionGroup#fillActionBars(org.eclipse.ui.IActionBars)
| 0
|
* @see org.eclipse.ui.actions.ActionGroup#fillActionBars(org.eclipse.ui.IActionBars) | CNavigatorOpenActionProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,575
|
CNavigatorOpenActionProvider.java
|
* @see org.eclipse.ui.actions.ActionGroup#fillContextMenu(org.eclipse.jface.action.IMenuManager)
| 0
|
* @see org.eclipse.ui.actions.ActionGroup#fillContextMenu(org.eclipse.jface.action.IMenuManager) | CNavigatorOpenActionProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,576
|
CNavigatorOpenActionProvider.java
|
* @see org.eclipse.ui.actions.ActionGroup#setContext(org.eclipse.ui.actions.ActionContext)
| 0
|
* @see org.eclipse.ui.actions.ActionGroup#setContext(org.eclipse.ui.actions.ActionContext) | CNavigatorOpenActionProvider.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,577
|
CNavigatorOpenActionProvider.java
|
A Common Navigator action provider providing the contributions
* from the open editor action group.
| 0
|
A Common Navigator action provider providing the contributions
* from the open editor action group. | CNavigatorOpenActionProvider.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,579
|
VaadinPortletSession.java
|
@link HttpSessionBindingListener
| 0
|
@link HttpSessionBindingListener | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,580
|
VaadinPortletSession.java
|
@link PortletSession#setAttribute()
| 0
|
@link PortletSession#setAttribute() | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,581
|
VaadinPortletSession.java
|
@link VaadinPortletService
| 0
|
@link VaadinPortletService | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,583
|
VaadinPortletSession.java
|
@param service
* the portlet service to which the new session belongs
| 0
|
@param service
* the portlet service to which the new session belongs | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,584
|
VaadinPortletSession.java
|
* @return portlet session
| 0
|
* @return portlet session | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,587
|
VaadinPortletSession.java
|
@param listener
* to remove
| 0
|
@param listener
* to remove | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,589
|
VaadinPortletSession.java
|
* @param name
* event name
| 0
|
* @param name
* event name | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,590
|
VaadinPortletSession.java
|
@param value
* event value object that is Serializable and, if appropriate,
* has a valid JAXB annotation
| 0
|
@param value
* event value object that is Serializable and, if appropriate,
* has a valid JAXB annotation | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,591
|
VaadinPortletSession.java
|
@param uI
* a window in which a temporary action URL can be opened if
* necessary
| 0
|
@param uI
* a window in which a temporary action URL can be opened if
* necessary | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,592
|
VaadinPortletSession.java
|
* @param name
* parameter identifier
| 0
|
* @param name
* parameter identifier | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,594
|
VaadinPortletSession.java
|
* @param uI
* a window in which the render URL can be opened if necessary
| 0
|
* @param uI
* a window in which the render URL can be opened if necessary | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,595
|
VaadinPortletSession.java
|
* @param portletMode
* the portlet mode to switch to
| 0
|
* @param portletMode
* the portlet mode to switch to | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,596
|
VaadinPortletSession.java
|
@link StateAwareResponse
| 0
|
@link StateAwareResponse | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,598
|
VaadinPortletSession.java
|
@return action URL or null if called outside a MimeRequest (outside a
* UIDL request or similar)
| 0
|
@return action URL or null if called outside a MimeRequest (outside a
* UIDL request or similar) | VaadinPortletSession.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,599
|
VaadinPortletSession.java
|
@link PortletListenerNotifier}
| 0
|
@link PortletListenerNotifier} | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,602
|
VaadinPortletSession.java
|
* Returns the underlying portlet session.
| 0
|
* Returns the underlying portlet session. | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,603
|
VaadinPortletSession.java
|
Returns the JSR-286 portlet configuration that provides access to the
* portlet context and init parameters.
| 0
|
Returns the JSR-286 portlet configuration that provides access to the
* portlet context and init parameters. | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,606
|
VaadinPortletSession.java
|
@link #addPortletListener(PortletListener)
| 0
|
@link #addPortletListener(PortletListener) | VaadinPortletSession.java
|
[
0,
0,
0,
0,
1,
0,
0
] |
10,607
|
VaadinPortletSession.java
|
* For internal use by the framework only - API subject to change.
| 0
|
* For internal use by the framework only - API subject to change. | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,610
|
VaadinPortletSession.java
|
// cleanup
| 0
|
// cleanup | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,611
|
VaadinPortletSession.java
|
// this action request is only to set shared render parameters
| 0
|
// this action request is only to set shared render parameters | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,612
|
VaadinPortletSession.java
|
// cleanup
| 0
|
// cleanup | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,614
|
VaadinPortletSession.java
|
* For internal use by the framework only - API subject to change.
| 0
|
* For internal use by the framework only - API subject to change. | VaadinPortletSession.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,615
|
VaadinPortletSession.java
|
* Listener interface for the various types of JSR-286 portlet requests. The
* listener methods are called by the request handler
* {@link PortletListenerNotifier} after the session is locked and the
* corresponding UI has been found (if already created) but before other
* request processing takes place.
*
* Direct rendering of output is not possible in a portlet listener and the
* JSR-286 limitations on allowed operations in each phase or portlet
* request processing must be respected by the listeners.
*
* Note that internal action requests used by the framework to trigger
* events or set shared parameters do not call the action request listener
* but will result in a later event or render request that will trigger the
* corresponding listener.
*/
| 0
|
* Listener interface for the various types of JSR-286 portlet requests. The
* listener methods are called by the request handler
* {@link PortletListenerNotifier} after the session is locked and the
* corresponding UI has been found (if already created) but before other
* request processing takes place.
*
* Direct rendering of output is not possible in a portlet listener and the
* JSR-286 limitations on allowed operations in each phase or portlet
* request processing must be respected by the listeners.
*
* Note that internal action requests used by the framework to trigger
* events or set shared parameters do not call the action request listener
* but will result in a later event or render request that will trigger the
* corresponding listener.
*/ | VaadinPortletSession.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,616
|
SharedCacheManager.java
|
/**
* This service maintains the shared cache meta data. It handles claiming and
* releasing of resources, all rpc calls from the client to the shared cache
* manager, and administrative commands. It also persists the shared cache meta
* data to a backend store, and cleans up stale entries on a regular basis.
*/
| 0
|
/**
* This service maintains the shared cache meta data. It handles claiming and
* releasing of resources, all rpc calls from the client to the shared cache
* manager, and administrative commands. It also persists the shared cache meta
* data to a backend store, and cleans up stale entries on a regular basis.
*/ | SharedCacheManager.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,617
|
SharedCacheManager.java
|
* Priority of the SharedCacheManager shutdown hook.
| 0
|
* Priority of the SharedCacheManager shutdown hook. | SharedCacheManager.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,618
|
SharedCacheManager.java
|
* For testing purposes only.
| 0
|
* For testing purposes only. | SharedCacheManager.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,619
|
POPCPPParserExtensionConfiguration.java
|
Contributors:
* Markus Schorn - initial API and implementation
| 0
|
Contributors:
* Markus Schorn - initial API and implementation | POPCPPParserExtensionConfiguration.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
10,620
|
POPCPPParserExtensionConfiguration.java
|
* @since 5.1
| 0
|
* @since 5.1 | POPCPPParserExtensionConfiguration.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,622
|
POPCPPParserExtensionConfiguration.java
|
* Configures the parser to accept POP C++,
| 0
|
* Configures the parser to accept POP C++, | POPCPPParserExtensionConfiguration.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,623
|
StringWithBooleanFieldEditor.java
|
Contributors:
* Wind River Systems - initial API and implementation
| 0
|
Contributors:
* Wind River Systems - initial API and implementation | StringWithBooleanFieldEditor.java
|
[
0,
1,
0,
0,
0,
0,
0
] |
10,624
|
StringWithBooleanFieldEditor.java
|
* A string field editor with an enablement check box.
| 0
|
* A string field editor with an enablement check box. | StringWithBooleanFieldEditor.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,625
|
StringWithBooleanFieldEditor.java
|
// create and hide label from base class
| 0
|
// create and hide label from base class | StringWithBooleanFieldEditor.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,626
|
StringWithBooleanFieldEditor.java
|
* @return the value
| 0
|
* @return the value | StringWithBooleanFieldEditor.java
|
[
0,
0,
0,
1,
0,
0,
0
] |
10,627
|
StringWithBooleanFieldEditor.java
|
* Returns this field editor's current boolean value.
| 0
|
* Returns this field editor's current boolean value. | StringWithBooleanFieldEditor.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,630
|
TestDistCpSync.java
|
// the source/target dir are not snapshottable dir
| 0
|
// the source/target dir are not snapshottable dir | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,631
|
TestDistCpSync.java
|
// make sure the source path has been updated to the snapshot path
| 0
|
// make sure the source path has been updated to the snapshot path | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,632
|
TestDistCpSync.java
|
// reset source path in options
| 0
|
// reset source path in options | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,633
|
TestDistCpSync.java
|
// the source/target does not have the given snapshots
| 0
|
// the source/target does not have the given snapshots | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,634
|
TestDistCpSync.java
|
// reset source path in options
| 0
|
// reset source path in options | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,635
|
TestDistCpSync.java
|
// reset source paths in options
| 0
|
// reset source paths in options | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,637
|
TestDistCpSync.java
|
// make sure the source path has been updated to the snapshot path
| 0
|
// make sure the source path has been updated to the snapshot path | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,638
|
TestDistCpSync.java
|
// reset source paths in options
| 0
|
// reset source paths in options | TestDistCpSync.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,640
|
ParserLanguage.java
|
* Enumeration of base languages supported by CDT.
| 0
|
* Enumeration of base languages supported by CDT. | ParserLanguage.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,641
|
SnapshotException.java
|
/** Snapshot related exception. */
| 0
|
/** Snapshot related exception. */ | SnapshotException.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,642
|
TestProcessCorruptBlocks.java
|
/**
* The corrupt block has to be removed when the number of valid replicas
* matches replication factor for the file. In this the above condition is
* tested by reducing the replication factor
* The test strategy :
* Bring up Cluster with 3 DataNodes
* Create a file of replication factor 3
* Corrupt one replica of a block of the file
* Verify that there are still 2 good replicas and 1 corrupt replica
* (corrupt replica should not be removed since number of good
* replicas (2) is less than replication factor (3))
* Set the replication factor to 2
* Verify that the corrupt replica is removed.
* (corrupt replica should not be removed since number of good
* replicas (2) is equal to replication factor (2))
*/
| 0
|
/**
* The corrupt block has to be removed when the number of valid replicas
* matches replication factor for the file. In this the above condition is
* tested by reducing the replication factor
* The test strategy :
* Bring up Cluster with 3 DataNodes
* Create a file of replication factor 3
* Corrupt one replica of a block of the file
* Verify that there are still 2 good replicas and 1 corrupt replica
* (corrupt replica should not be removed since number of good
* replicas (2) is less than replication factor (3))
* Set the replication factor to 2
* Verify that the corrupt replica is removed.
* (corrupt replica should not be removed since number of good
* replicas (2) is equal to replication factor (2))
*/ | TestProcessCorruptBlocks.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,644
|
TestProcessCorruptBlocks.java
|
/**
* The corrupt block has to be removed when the number of valid replicas
* matches replication factor for the file. The above condition should hold
* true as long as there is one good replica. This test verifies that.
*
* The test strategy :
* Bring up Cluster with 2 DataNodes
* Create a file of replication factor 2
* Corrupt one replica of a block of the file
* Verify that there is one good replicas and 1 corrupt replica
* (corrupt replica should not be removed since number of good
* replicas (1) is less than replication factor (2)).
* Set the replication factor to 1
* Verify that the corrupt replica is removed.
* (corrupt replica should be removed since number of good
* replicas (1) is equal to replication factor (1))
*/
| 0
|
/**
* The corrupt block has to be removed when the number of valid replicas
* matches replication factor for the file. The above condition should hold
* true as long as there is one good replica. This test verifies that.
*
* The test strategy :
* Bring up Cluster with 2 DataNodes
* Create a file of replication factor 2
* Corrupt one replica of a block of the file
* Verify that there is one good replicas and 1 corrupt replica
* (corrupt replica should not be removed since number of good
* replicas (1) is less than replication factor (2)).
* Set the replication factor to 1
* Verify that the corrupt replica is removed.
* (corrupt replica should be removed since number of good
* replicas (1) is equal to replication factor (1))
*/ | TestProcessCorruptBlocks.java
|
[
0,
0,
1,
0,
0,
0,
0
] |
10,647
|
TestProcessCorruptBlocks.java
|
// restart the detained so the corrupt replica will be detected
| 0
|
// restart the detained so the corrupt replica will be detected | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,648
|
TestProcessCorruptBlocks.java
|
// wait for one minute for deletion to succeed;
| 0
|
// wait for one minute for deletion to succeed; | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,649
|
TestProcessCorruptBlocks.java
|
// Each datanode has multiple data dirs, check each
| 0
|
// Each datanode has multiple data dirs, check each | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,651
|
TestProcessCorruptBlocks.java
|
// wait for 3 seconds so that all block reports are processed.
| 0
|
// wait for 3 seconds so that all block reports are processed. | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,653
|
TestProcessCorruptBlocks.java
|
// wait for 3 seconds so that all block reports are processed.
| 0
|
// wait for 3 seconds so that all block reports are processed. | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
10,654
|
TestProcessCorruptBlocks.java
|
// wait for 3 seconds so that all block reports are processed.
| 0
|
// wait for 3 seconds so that all block reports are processed. | TestProcessCorruptBlocks.java
|
[
1,
0,
0,
0,
0,
0,
0
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.