alibaba / alibaba/DataX

elasticsearchwriter判断语句有误

Open
#168 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

在ESClient.java: 60行判断时是否有误
if (!("".equals(user) || "".equals(passwd))) {}
如果没有用户名或者密码,
会报
Preemptive authentication set without credentials provider 异常
判断逻辑应该是否应该修改一下

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ESClient.java line 60 and inspect the authentication condition used when the username or password is empty. Reproduce the Elasticsearch writer case without credentials and verify that it no longer raises “Preemptive authentication set without credentials provider” when the condition is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java
Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.