[jira] [Created] (CARBONDATA-1093) User data is getting printed in logs if the server fails to respond to client

classic Classic list List threaded Threaded
♦
♦
2 messages Options
Reply | Threaded
Open this post in threaded view
♦
♦
|

[jira] [Created] (CARBONDATA-1093) User data is getting printed in logs if the server fails to respond to client

Akash R Nilugal (Jira)
Kunal Kapoor created CARBONDATA-1093:
----------------------------------------

             Summary: User data is getting printed in logs if the server fails to respond to client
                 Key: CARBONDATA-1093
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1093
             Project: CarbonData
          Issue Type: Bug
            Reporter: Kunal Kapoor
            Assignee: Kunal Kapoor
            Priority: Critical


java.lang.RuntimeException: Request timed out for key : DictionaryKey{ columnName='p_cap_time', data='2010301', dictionaryValue=-1, type=DICT_GENERATION}
        at org.apache.carbondata.core.dictionary.client.DictionaryClientHandler.getDictionary(DictionaryClientHandler.java:94)
        at org.apache.carbondata.core.dictionary.client.DictionaryClient.getDictionary(DictionaryClient.java:81)
        at org.apache.carbondata.processing.newflow.dictionary.DictionaryServerClientDictionary.getOrGenerateKey(DictionaryServerClientDictionary.java:57)
        at org.apache.carbondata.processing.newflow.dictionary.DictionaryServerClientDictionary.getOrGenerateKey(DictionaryServerClientDictionary.java:32)
        at org.apache.carbondata.processing.newflow.converter.impl.DictionaryFieldConverterImpl.convert(DictionaryFieldConverterImpl.java:117)
        at org.apache.carbondata.processing.newflow.converter.impl.RowConverterImpl.convert(RowConverterImpl.java:155)
        at org.apache.carbondata.processing.newflow.steps.DataConverterProcessorStepImpl.processRowBatch(DataConverterProcessorStepImpl.java:107)
        at org.apache.carbondata.processing.newflow.steps.DataConverterProcessorStepImpl$1.next(DataConverterProcessorStepImpl.java:93)
        at org.apache.carbondata.processing.newflow.steps.DataConverterProcessorStepImpl$1.next(DataConverterProcessorStepImpl.java:81)
        at org.apache.carbondata.processing.newflow.sort.impl.UnsafeParallelReadMergeSorterImpl$SortIteratorThread.call(UnsafeParallelReadMergeSorterImpl.java:206)
        at org.apache.carbondata.processing.newflow.sort.impl.UnsafeParallelReadMergeSorterImpl$SortIteratorThread.call(UnsafeParallelReadMergeSorterImpl.java:181)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Solution: Remove the data field while printing logs



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: [jira] [Created] (CARBONDATA-1093) User data is getting printed in logs if the server fails to respond to client

fedrickcurew
Handling server errors without exposing user data is essential for maintaining application security and protecting sensitive information. Developers should ensure that logs contain only necessary diagnostic details and avoid recording private client data. Reliable online tools also help simplify everyday tasks, and ingredient conversion resources can make recipe measurements easier to manage. https://gramstocupsconverter.net