Hello Team,

I am looking for your valuable suggestions/solutions for the below scenario:

>  Scenario :
When any user gives a request by giving the name of the filename.zip, then he 
wants the "filename.zip" zip file.

>  Description:
*        The data is a collection.zip where it consists of many inner 
zipfiles(that is the filename.zip).
*        Here we have hive table and in the hive table first column consists of 
harlocation which in turn points to the collection.zip file path and in the 
next column it will have the filename.zip.
hive> select * from hvtb_xdlogfileanalysis_logfilewithworkshopinfo_ext limit 1;
OK
har://hdfs-DBDPInnovationLab/org/itpgm/XDLogFileAnalysis/archived/data/AfterSalesAndService_AS/APP-16151/XentryInDia-XentryDiagnostics/Central_Y/XDlogfiles/2016_05_30/2016_05_30.har/10_52_33/INDIA_archive_LTA1_1_20160330-153020236.zip
  H_8658E990C2F3_20160330_110145.zip      WDC1660041A050241       M/GLE (166)   
  8658E990C2F3    2       2016-03-30 09:01:45     2016-03-30 12:50:34  MPC212   
                       12/15   104172.0km      5131265 CENTRETOILE SA  4500    
avenue de l'Industrie 24        Huy     513     1265    31      2016-04-19
Time taken: 0.609 seconds, Fetched: 1 row(s)

>  Tasks carried out:
*        We need to use restapi to send a request for getting a filename.zip
*        Then we need to query the hive table and get the har location and from 
there we get the collection zip.
*        Unzip the collection.zip and compare the list of inner zip files with 
the filename.zip
*        After comparison, we need to put the filename.zip to particular 
location .
*        Provide the webhdfs path of the filename.zip via rest api.

Now problem I am facing is :
This is the first time, i am using the solr and i am not pretty sure, how to 
point the inner zip file (which is in the collection.zip).
Does solr supports this, if yes can you explain me in brief.
How to point the inner zip files.
Or any workaround is there, please let me know.

All suggestion/solutions are welcomed.
Thank you in advance.

Emailed : kshashi...@gmail.com<mailto:kshashi...@gmail.com>

Thanks,
ShashiKumar


If you are not the addressee, please inform us immediately that you have 
received this e-mail by mistake, and delete it. We thank you for your support.

Reply via email to